llvmpipe: Remove lp_rast_get_num_threads().
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 22 Jul 2013 17:08:39 +0000 (18:08 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 22 Jul 2013 17:08:39 +0000 (18:08 +0100)
Never called.

Trivial.

src/gallium/drivers/llvmpipe/lp_rast.c
src/gallium/drivers/llvmpipe/lp_rast.h

index e172dac40cbe287d6670270f96562f9b019d5237..772c9d7c681cc06684898fa2ae5751c97fc0961e 100644 (file)
@@ -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;
-}
-
-
index e6e44c58262841796bbe933e9b1f974a98e329f1..c57f2ea11de44574136a5dcf66287b4cad60a5fe 100644 (file)
@@ -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 );