summaryrefslogtreecommitdiffhomepage
path: root/networking/udhcp/options.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-03-20 03:49:27 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-03-20 03:49:27 +0100
commita953987e778e1a89d9371df99b243e7b57b22a07 (patch)
tree011bae27383dcc3ccf07106e754d40e6db742bbc /networking/udhcp/options.c
parent8a7c166ab9ad35eef8c90d6b0b3a25b8a9fbacd2 (diff)
udhcpd: remove redundant code in send_offer()
static_lease_nip and lease pointer are canculated in the caller, no need to calculate them again. lease_time_sec calculation is also redundant: it is assigned to later, w/o being used in between. function old new delta udhcpd_main 1956 1925 -31 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/options.c')
0 files changed, 0 insertions, 0 deletions