]> git.sur5r.net Git - u-boot/commit
net: Fix unused variable compile warning
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 07:59:18 +0000 (07:59 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 22:53:05 +0000 (17:53 -0500)
commit1752f0fdc7a3b914f6b651f68cb59dde102c9c92
tree97f8275cebffb66e6621d4b3a41704055ed29ede
parenta3e1a727fe8a8b0294fe3ffbc8dcd2f14a4e5a4e
net: Fix unused variable compile warning

If CONFIG_BOOTP_SERVERIP is not defined, unused variable warning is
reported.  This was fixed upstream using a compiler feature instead
of a simple reorder of the statements.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
net/bootp.c