init: stop using static data
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 10 Jan 2018 12:32:20 +0000 (13:32 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 10 Jan 2018 12:32:20 +0000 (13:32 +0100)
commitf2539c78d2e507150dea06e8702c5ab8713d2b49
treefade1ab37811045bff900534dc75f4be77664cc9
parentbaa41c785551ae0580526298aa6fadf4534fc8c0
init: stop using static data

function                                             old     new   delta
init_action_list                                       4       -      -4
new_init_action                                      148     142      -6
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 0/1 up/down: 0/-10)             Total: -10 bytes
   text    data     bss     dec     hex filename
 927839     481    6832  935152   e44f0 busybox_old
 927833     481    6824  935138   e44e2 busybox_unstripped

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
init/init.c