[Mesa-dev] [PATCH v3 14/25] configure.ac: Remove radeon_gallium_llvm_check()

Tobias Droste tdroste at gmx.de
Tue Oct 11 23:02:41 UTC 2016


This function is just calling radeon_llvm_check() with the same parameters.
No functional change.

Signed-off-by: Tobias Droste <tdroste at gmx.de>
---
 configure.ac | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/configure.ac b/configure.ac
index 7b03531..d9ad56d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2420,10 +2420,6 @@ radeon_llvm_check() {
     fi
 }
 
-radeon_gallium_llvm_check() {
-    radeon_llvm_check $*
-}
-
 swr_llvm_check() {
     gallium_require_llvm $1
     if test ${LLVM_VERSION_INT} -lt 306; then
@@ -2505,7 +2501,7 @@ if test -n "$with_gallium_drivers"; then
             gallium_require_drm "Gallium R600"
             gallium_require_drm_loader
             if test "x$enable_opencl" = xyes; then
-                radeon_gallium_llvm_check "r600g" "3" "6" "0"
+                radeon_llvm_check "r600g" "3" "6" "0"
                 gallium_require_llvm "r600"
                 LLVM_COMPONENTS="${LLVM_COMPONENTS} bitreader asmparser"
             fi
@@ -2516,7 +2512,7 @@ if test -n "$with_gallium_drivers"; then
             PKG_CHECK_MODULES([AMDGPU], [libdrm_amdgpu >= $LIBDRM_AMDGPU_REQUIRED])
             gallium_require_drm "radeonsi"
             gallium_require_drm_loader
-            radeon_gallium_llvm_check "radeonsi" "3" "6" "0"
+            radeon_llvm_check "radeonsi" "3" "6" "0"
             gallium_require_llvm "radeonsi"
             require_egl_drm "radeonsi"
             ;;
-- 
2.10.0



More information about the mesa-dev mailing list