Mesa (master): llvmpipe: (trivial) remove redundant util_cpu_detect() call in lp_test_main

Roland Scheidegger sroland at kemper.freedesktop.org
Mon Nov 24 23:29:52 UTC 2014


Module: Mesa
Branch: master
Commit: 880424b8ad33f075a5ba0edef2cfd88072cfb387
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=880424b8ad33f075a5ba0edef2cfd88072cfb387

Author: Roland Scheidegger <sroland at vmware.com>
Date:   Mon Nov 24 23:38:32 2014 +0100

llvmpipe: (trivial) remove redundant util_cpu_detect() call in lp_test_main

Already called earlier.

---

 src/gallium/drivers/llvmpipe/lp_test_main.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_test_main.c b/src/gallium/drivers/llvmpipe/lp_test_main.c
index c7b6d65..d835dbb 100644
--- a/src/gallium/drivers/llvmpipe/lp_test_main.c
+++ b/src/gallium/drivers/llvmpipe/lp_test_main.c
@@ -397,8 +397,6 @@ int main(int argc, char **argv)
    }
 #endif
 
-   util_cpu_detect();
-
    if(fp) {
       /* Warm up the caches */
       test_some(0, NULL, 100);




More information about the mesa-commit mailing list