Mesa (master): nir: Remove spurious return from void function.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Fri May 6 11:03:49 UTC 2016


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

Author: Jose Fonseca <jfonseca at vmware.com>
Date:   Fri May  6 12:00:08 2016 +0100

nir: Remove spurious return from void function.

Left over from 450c0613627d5a472fcf1122c15b66988abfb372.

Trivial.  Built locally with clang and gcc.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95296

---

 src/compiler/nir/nir_lower_double_packing.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/compiler/nir/nir_lower_double_packing.c b/src/compiler/nir/nir_lower_double_packing.c
index 046e213..ed1e707 100644
--- a/src/compiler/nir/nir_lower_double_packing.c
+++ b/src/compiler/nir/nir_lower_double_packing.c
@@ -75,8 +75,6 @@ lower_double_pack_impl(nir_function_impl *impl)
          nir_instr_remove(&alu_instr->instr);
       }
    }
-
-   return true;
 }
 
 void




More information about the mesa-commit mailing list