modprobe-small: build fixes
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 9 Jan 2017 08:48:58 +0000 (09:48 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 9 Jan 2017 08:48:58 +0000 (09:48 +0100)
commit6bf52b615d78542e41e684438c844af1fa4fb36e
treed7cc77f1b66091f99741a41f31ee66908788811d
parent80172e46221222f26680f3b9caf7637383205e7a
modprobe-small: build fixes

Was throwing some build errors:

CONFIG_MODPROBE_SMALL=y
CONFIG_DEPMOD=y
CONFIG_LSMOD=y
CONFIG_MODINFO=y
CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED=y

error: unused variable 'exitcode'

modutils/modprobe-small.c: In function 'modprobe_main':
modutils/modprobe-small.c:1060: error: control reaches end of non-void function

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
modutils/modprobe-small.c