diff options
author | Kang-Che Sung <explorer09@gmail.com> | 2017-01-31 17:06:43 +0800 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-02-01 01:33:37 +0100 |
commit | fdfd716a858f6f63289b1156a80d06d7e86947de (patch) | |
tree | ee18761f141e343e01f5527d8937feb37a4d2d97 /libbb/inet_common.c | |
parent | dc7637d0aa0efeb7cc8a7bcd798f0b5679251ad9 (diff) | |
download | busybox-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 'libbb/inet_common.c')
0 files changed, 0 insertions, 0 deletions