mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 09:02:00 +00:00
qlge: Code clean up
Just reordering this assignment that doesn't depend on any condition. 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>
This commit is contained in:
parent
e0fee99fce
commit
746079dabc
@ -4129,12 +4129,12 @@ static int qlge_change_mtu(struct net_device *ndev, int new_mtu)
|
||||
queue_delayed_work(qdev->workqueue,
|
||||
&qdev->mpi_port_cfg_work, 3*HZ);
|
||||
|
||||
ndev->mtu = new_mtu;
|
||||
|
||||
if (!netif_running(qdev->ndev)) {
|
||||
ndev->mtu = new_mtu;
|
||||
return 0;
|
||||
}
|
||||
|
||||
ndev->mtu = new_mtu;
|
||||
status = ql_change_rx_buffers(qdev);
|
||||
if (status) {
|
||||
QPRINTK(qdev, IFUP, ERR,
|
||||
|
Loading…
Reference in New Issue
Block a user