Denys Vlasenko
d51ba0b5ab
networking/interface.c: get rid of global data
These were data/bss:
static.proc_read 1 - -1
int_list 4 - -4
int_last 4 - -4
We never call display_interfaces() twice, thus code to not scan /proc twice
never triggers.
function old new delta
do_if_print - 1998 +1998
display_interfaces 145 249 +104
static.proc_read 1 - -1
add_interface 104 103 -1
int_list 4 - -4
int_last 4 - -4
if_readlist_proc 560 542 -18
if_readconf 141 - -141
do_if_fetch 643 - -643
ife_print 1296 - -1296
------------------------------------------------------------------------------
(add/remove: 1/6 grow/shrink: 1/2 up/down: 2102/-2108) Total: -6 bytes
text data bss dec hex filename
933084 473 6844 940401 e5971 busybox_old
933087 473 6836 940396 e596c busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-03-05 18:30:33 +01:00
..
2018-02-20 19:43:32 +01:00
2018-02-07 16:32:30 +01:00
2018-02-11 21:16:24 +01:00
2018-02-05 19:06:40 +01:00
2018-02-06 15:48:12 +01:00
2017-09-18 16:28:43 +02:00
2018-03-05 17:46:17 +01:00
2017-10-05 14:40:24 +02:00
2018-02-13 18:20:28 +01:00
2018-03-05 18:30:33 +01:00
2018-02-20 19:43:32 +01:00
2017-09-18 16:28:43 +02:00
2017-09-18 16:28:43 +02:00
2017-10-05 15:19:25 +02:00
2017-12-26 20:19:37 +01:00
2018-02-06 17:11:15 +01:00
2018-02-13 23:53:24 +01:00
2017-10-05 15:19:25 +02:00
2018-02-06 15:15:08 +01:00
2018-02-08 08:42:37 +01:00
2018-02-27 13:03:44 +01:00
2018-02-27 13:03:44 +01:00
2018-02-27 13:03:44 +01:00
2017-10-05 15:19:25 +02:00
2017-12-31 17:30:02 +01:00
2018-02-14 17:37:41 +01:00
2017-10-31 15:59:19 +01:00
2017-09-18 16:28:43 +02:00
2018-03-05 00:19:33 +01:00
2017-09-18 16:28:43 +02:00
2017-10-05 15:19:25 +02:00