Delete the return value (nvram_exit is declared with a 'void' return).
Signed-off-by: Nathan Hintz <[email protected]>
---
package/kernel/broadcom-wl/patches/100-fix_nvram_two_devices.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/kernel/broadcom-wl/patches/100-fix_nvram_two_devices.patch
b/package/kernel/broadcom-wl/patches/100-fix_nvram_two_devices.patch
index 5650862..6cf6fae 100644
--- a/package/kernel/broadcom-wl/patches/100-fix_nvram_two_devices.patch
+++ b/package/kernel/broadcom-wl/patches/100-fix_nvram_two_devices.patch
@@ -25,7 +25,7 @@
+ nvram_init_done--;
+ if (nvram_init_done != 0)
-+ return 0;
++ return;
+
sih = (si_t *)si;
this = vars;
--
1.8.3.1
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel