Staging: silicom: Remove unnecessary variable from get_bypass_info()
authorRupert Muchembled <rupert@rmuch.net>
Fri, 8 Nov 2013 06:01:49 +0000 (06:01 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Nov 2013 00:34:54 +0000 (16:34 -0800)
commit473b1716256d2b01bfd105e6af96ccc34b951fe3
tree87e77ffb7e273d7d4d28a79dd76a18a106ca3e48
parenta82c40cba28266186eff04bde6e368083eefa687
Staging: silicom: Remove unnecessary variable from get_bypass_info()

Remove unnecessary variable ioctl from get_bypass_info().

As a consequence, this patch removes an assignment to ioctl in an if condition,
reported by checkpatch.pl.

Signed-off-by: Rupert Muchembled <rupert@rmuch.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/silicom/bypasslib/bypass.c