qlge: removing unreachable block of code
authorBreno Leitao <leitao@linux.vnet.ibm.com>
Thu, 4 Feb 2010 10:11:18 +0000 (10:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Feb 2010 23:42:27 +0000 (15:42 -0800)
commite0fee99fce97af37b1db6ed8dd6951fb9a8d7201
treea5e931c7ddb286de3961d7491910d753f596ff36
parentd088dde7b19628f386c486f16cd471f5b5682ca8
qlge: removing unreachable block of code

Currently the qlge_change_mtu() is never called if the new_mtu is
equal current MTU, due this condition on dev_set_mtu():

        if (new_mtu == dev->mtu)
                return 0;

So, this block of code is never reached and is being removed.

Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge_main.c