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

Remove unnecessary variable ioctl from do_cmd().

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