]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ifenslave: Fix unused variable warnings.
authorDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2011 21:54:17 +0000 (16:54 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Dec 2012 20:59:13 +0000 (12:59 -0800)
commitec348687008984da6d4fbabf6f359f37c99dcebe
tree3517492748a847b552dcbef07a8f14435a43f99b
parent7ddaba0a4191dfa77db0167a76a7b3e1d46cbd2d
ifenslave: Fix unused variable warnings.

commit 450faacc621dbe0a4945ed8292afd45f4602d263 upstream.

Documentation/networking/ifenslave.c: In function ‘if_getconfig’:
Documentation/networking/ifenslave.c:508:14: warning: variable ‘mtu’ set but not used [-Wunused-but-set-variable]
Documentation/networking/ifenslave.c:508:6: warning: variable ‘metric’ set but not used [-Wunused-but-set-variable]

The purpose of this function is to simply print out the values
it probes, so...

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/networking/ifenslave.c