diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2015-02-07 20:44:46 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2015-02-07 20:44:46 +0100 |
commit | 68c048fb23bd8b0831bbd02ec66900b12390cf19 (patch) | |
tree | c0180ca96c35db0779232b028b316f40b4ae2d15 /libbb/xgethostbyname.c | |
parent | 782ee2aa0e1646aebc96c8590ddc0a16405b8297 (diff) | |
download | busybox-68c048fb23bd8b0831bbd02ec66900b12390cf19.tar.gz |
modprobe-small: fix and simplify rmmod
"rmmod OUT_OF_TREE_MODULE" was not working, because module is not in depmod file.
In general, rmmod doesn't need scanning, it simply unloads every argv[i].
function old new delta
rmmod - 63 +63
modprobe_main 449 465 +16
process_module 705 667 -38
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/1 up/down: 79/-38) Total: 41 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/xgethostbyname.c')
0 files changed, 0 insertions, 0 deletions