udhcpc: do not test for srand init, just do it at the start
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 22 Mar 2010 12:44:09 +0000 (13:44 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 22 Mar 2010 12:44:09 +0000 (13:44 +0100)
commit8d1144565fd01576b72eac65ce4686405f98829e
tree25c9164bab5aae4a940785df1bc97591fa225d01
parent501e35c47441722c69c62bd52841a9a6fd64932c
udhcpc: do not test for srand init, just do it at the start

function                                             old     new   delta
udhcpc_main                                         2855    2867     +12
static.initialized                                     1       -      -1
client_background                                     32      31      -1
perform_release                                      124     122      -2
random_xid                                            38       -     -38
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 1/2 up/down: 12/-42)            Total: -30 bytes

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