drivers/net/eql.c: kill dead code
PATCH 1/1 drivers/net/eql.c: kill dead code
This patch removes some obviously dead code found by the Coverity checker.
Signed-off-by Adrian Bunk <[email protected]>
drivers/net/eql.c renamed from drivers/net/eql.c.old +0 -4
@@ -498,10 +498,8 @@if (!slave_dev)return -ENODEV ; ret = -EINVAL ; -if (!slave_dev) -return ret;spin_lock_bh (&eql->queue.lock);if (eql_is_slave (slave_dev)) { slave =__eql_find_slave_dev (&eql->queue, slave_dev);
@@ -535,10 +533,8 @@if (!slave_dev)return -ENODEV ; ret = -EINVAL ; -if (!slave_dev) -return ret; eql =netdev_priv (dev);spin_lock_bh (&eql->queue.lock);if (eql_is_slave (slave_dev)) {
Quoted 4 lines · On Tue, 22 Mar 2005 22:53:54 +0100 Adrian Bunk <[email protected]> wrote:
This patch removes some obviously dead code found by the Coverity checker.
Signed-off-by Adrian Bunk <[email protected]>
Applied, thanks Adrian.
Quoted 9 lines · David S. Miller
Quoted 4 lines · On Tue, 22 Mar 2005 22:53:54 +0100 Adrian Bunk <[email protected]> wrote:
This patch removes some obviously dead code found by the Coverity checker.
Signed-off-by Adrian Bunk <[email protected]>Applied, thanks Adrian.
Note that I apply drivers/net/* stuff too, including this one... :)
http://marc.theaimsgroup.com/?l=linux-kernel&m=111154928104675&w=2
Jeff
David S. Miller
maintainerQuoted 1 line · On Wed, 23 Mar 2005 15:28:23 -0500 Jeff Garzik <[email protected]> wrote:
Note that I apply
drivers/net/*stuff too, including this one... :)
I realized this was a possibility, BK will figure it out once it gets merged so no worries.
Generally, besides bonding, I pretty much take the changes in for non-hardware drivers like eql, shaper, and friends.