aboutsummaryrefslogtreecommitdiff
path: root/modutils/lsmod.c
diff options
context:
space:
mode:
authorKang-Che Sung <explorer09@gmail.com>2017-01-31 17:06:43 +0800
committerDenys Vlasenko <vda.linux@googlemail.com>2017-02-01 01:33:37 +0100
commitfdfd716a858f6f63289b1156a80d06d7e86947de (patch)
treeee18761f141e343e01f5527d8937feb37a4d2d97 /modutils/lsmod.c
parentdc7637d0aa0efeb7cc8a7bcd798f0b5679251ad9 (diff)
downloadbusybox-fdfd716a858f6f63289b1156a80d06d7e86947de.tar.gz
modprobe-small: move lsmod code out of modprobe_main()
Having lsmod code inside modprobe_main() makes some of the applet name checking code awkward. Besides, this make busybox x86_64 binary a few bytes smaller. :) function old new delta lsmod_main - 23 +23 modprobe_main 599 564 -35 ------------------------------------------------------------------- (add/remove: 1/0 grow/shrink: 0/1 up/down: 23/-35) Total: -12 bytes Signed-off-by: Kang-Che Sung <explorer09@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils/lsmod.c')
0 files changed, 0 insertions, 0 deletions