udhcp: do not setlinebuf(stdout), we don't print to stdout anymore
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 7 Feb 2018 15:32:30 +0000 (16:32 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 7 Feb 2018 15:32:30 +0000 (16:32 +0100)
commit2bd5b4e9a0442102ab937ed771b2c11142afb744
tree55a3d7b650993ce0f34ec12b28da344957fa9987
parent4cae044b436a842e0575c3b6787729fb436fd04c
udhcp: do not setlinebuf(stdout), we don't print to stdout anymore

Since bb_info_msg() was eliminated type of buffering on stdout is not important

function                                             old     new   delta
udhcpd_main                                         1463    1451     -12
udhcpc_main                                         2735    2723     -12
setlinebuf                                            19       -     -19
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 0/2 up/down: 0/-43)             Total: -43 bytes

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