busybox/modutils
Kang-Che Sung fdfd716a85 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>
2017-02-01 01:33:37 +01:00
..
Config.src modprobe-small: improve config help text 2017-02-01 01:22:37 +01:00
depmod_process.sh depmod: fix handling of .gz modules 2009-05-18 13:08:04 +02:00
depmod.c depmod: don't build it if MODPROBE_SMALL=y 2017-01-01 13:12:48 +01:00
insmod.c Make INSMOD=y by default 2016-12-23 15:22:44 +01:00
Kbuild.src Convert all modutils/* applets to "new style" applet definitions 2016-11-23 07:54:52 +01:00
lsmod.c modprobe-small: fix --help texts, they are from "big" modutils 2017-01-30 19:21:12 +01:00
modinfo.c modinfo: fix "-F firmware", add "intree" field display 2015-10-28 18:07:46 +01:00
modprobe-small.c modprobe-small: move lsmod code out of modprobe_main() 2017-02-01 01:33:37 +01:00
modprobe.c modprobe-small: make applets individually selectable 2016-12-23 15:13:16 +01:00
modutils-24.c Convert all modutils/* applets to "new style" applet definitions 2016-11-23 07:54:52 +01:00
modutils.c modutils: remove special handling of uClibc 2017-01-04 13:32:09 +01:00
modutils.h modutils: merge module_entry and module_info to common 2015-11-05 18:54:55 +01:00
rmmod.c Make RMMOD=y by default 2016-12-23 15:57:26 +01:00