diff options
author | Denys Vlasenko | 2010-03-20 03:49:27 +0100 |
---|---|---|
committer | Denys Vlasenko | 2010-03-20 03:49:27 +0100 |
commit | a953987e778e1a89d9371df99b243e7b57b22a07 (patch) | |
tree | 011bae27383dcc3ccf07106e754d40e6db742bbc /examples/udhcp | |
parent | 8a7c166ab9ad35eef8c90d6b0b3a25b8a9fbacd2 (diff) | |
download | busybox-a953987e778e1a89d9371df99b243e7b57b22a07.zip busybox-a953987e778e1a89d9371df99b243e7b57b22a07.tar.gz |
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 'examples/udhcp')
0 files changed, 0 insertions, 0 deletions