Re: [PATCH] modprobe-small: move lsmod code out of modprobe_main()

2017-01-31 Thread Denys Vlasenko
applied, thanks On Tue, Jan 31, 2017 at 10:30 AM, Kang-Che Sung wrote: > 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. :) > > Signed-off-by: Kang-Che Sung

[PATCH] modprobe-small: move lsmod code out of modprobe_main()

2017-01-31 Thread Kang-Che Sung
* note: we already know here it is not lsmod (handled before) */ - || is_depmod - ) { + if (is_depmod) { /* Supported: * -n: print result to stdout * -a: process all modules (default) -- 2.11.0 From 2426a862471ffd5572296d1c67f4e38ff0125565 Mon Sep 17 00:00:00 2001 From: Kang-Che Sung <explore...@gmail.com> Date: Tue, 3