summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-11-11 21:56:45 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-11-11 21:56:45 +0000
commitc36d24ec823fb600bc9eb7ccb53e495c0fea531f (patch)
tree9ecf1e4869258e82832fab24f50dad28fa19725e /package/kernel
parent20d64e929f6020655eb8123fc3bdf04e563d11da (diff)
downloadmtk-20170518-c36d24ec823fb600bc9eb7ccb53e495c0fea531f.zip
mtk-20170518-c36d24ec823fb600bc9eb7ccb53e495c0fea531f.tar.gz
mtk-20170518-c36d24ec823fb600bc9eb7ccb53e495c0fea531f.tar.bz2
broadcom-wl: fix compiler warning
Delete the return value (nvram_exit is declared with a 'void' return). Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 38747
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/broadcom-wl/patches/100-fix_nvram_two_devices.patch2
1 files changed, 1 insertions, 1 deletions
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;