net: dhcp: make unmodified variable const
'str' in dhcp_set_string_options is never modified, so make it const.
With this we no longer have to cast away the const returned from getenv.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 802d8fd commit 7065fa32cac8af222bffc2ce9256931beaa2acfc
@Sascha Hauer Sascha Hauer authored on 11 Dec 2015
Showing 1 changed file
View
net/dhcp.c