]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: silicom: remove dead code
authorMichal Nazarewicz <mina86@mina86.com>
Fri, 29 Nov 2013 17:05:01 +0000 (18:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Dec 2013 17:03:20 +0000 (09:03 -0800)
commit14f4f4aa90473ece675df56062a9f14efbf00859
tree0c9100ac87701f97d0fa3f92338ada7738b3b619
parent5ba21c464b78e924ae74225e4080e42fea4560e8
staging: silicom: remove dead code

bus_info field of struct ethtool_drvinfo is an array thus it always
evaluates to true in a boolean context.  Therefore operation
depending on it being false will never be executed.

Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/silicom/bpctl_mod.c