udhcpd: code shrink
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 10 May 2019 13:55:12 +0000 (15:55 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 10 May 2019 13:55:12 +0000 (15:55 +0200)
commit15021f393d3d19d689028fceb5c35da930059430
tree262ab061ef238b5480933fd3cf3bec26036c29e6
parent94f607a9045481b614cac1b319bd435af01b8860
udhcpd: code shrink

function                                             old     new   delta
is_nip_reserved_as_static                              -      28     +28
get_static_nip_by_mac                                 43      47      +4
udhcpd_main                                         1459    1454      -5
send_offer                                           449     444      -5
read_leases                                          309     299     -10
is_nip_reserved                                       20       -     -20
packed_usage                                       33283   33243     -40
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 1/4 up/down: 32/-80)            Total: -48 bytes

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