ChangeSet 1.2199.14.35, 2005/03/23 12:19:14-08:00, [EMAIL PROTECTED] [EQL]: Kill dead code This patch removes some obviously dead code found by the Coverity checker. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
eql.c | 4 ---- 1 files changed, 4 deletions(-) diff -Nru a/drivers/net/eql.c b/drivers/net/eql.c --- a/drivers/net/eql.c 2005-03-26 17:25:07 -08:00 +++ b/drivers/net/eql.c 2005-03-26 17:25:07 -08:00 @@ -499,8 +499,6 @@ return -ENODEV; ret = -EINVAL; - if (!slave_dev) - return ret; spin_lock_bh(&eql->queue.lock); if (eql_is_slave(slave_dev)) { @@ -536,8 +534,6 @@ return -ENODEV; ret = -EINVAL; - if (!slave_dev) - return ret; eql = netdev_priv(dev); spin_lock_bh(&eql->queue.lock); - To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html