From: José Fonseca Date: Mon, 22 Jul 2013 17:08:39 +0000 (+0100) Subject: llvmpipe: Remove lp_rast_get_num_threads(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2a650611be93872d6aaa40e96a955c72150c3808;p=mesa.git llvmpipe: Remove lp_rast_get_num_threads(). Never called. Trivial. --- diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c index e172dac40cb..772c9d7c681 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast.c +++ b/src/gallium/drivers/llvmpipe/lp_rast.c @@ -909,11 +909,3 @@ void lp_rast_destroy( struct lp_rasterizer *rast ) } -/** Return number of rasterization threads */ -unsigned -lp_rast_get_num_threads( struct lp_rasterizer *rast ) -{ - return rast->num_threads; -} - - diff --git a/src/gallium/drivers/llvmpipe/lp_rast.h b/src/gallium/drivers/llvmpipe/lp_rast.h index e6e44c58262..c57f2ea11de 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast.h +++ b/src/gallium/drivers/llvmpipe/lp_rast.h @@ -139,9 +139,6 @@ lp_rast_create( unsigned num_threads ); void lp_rast_destroy( struct lp_rasterizer * ); -unsigned -lp_rast_get_num_threads( struct lp_rasterizer * ); - void lp_rast_queue_scene( struct lp_rasterizer *rast, struct lp_scene *scene );