diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/qlge/qlge_main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c index 87a40d168b36..0c9e00f36cd9 100644 --- a/drivers/net/qlge/qlge_main.c +++ b/drivers/net/qlge/qlge_main.c | |||
@@ -4123,9 +4123,6 @@ static int qlge_change_mtu(struct net_device *ndev, int new_mtu) | |||
4123 | QPRINTK(qdev, IFUP, ERR, "Changing to jumbo MTU.\n"); | 4123 | QPRINTK(qdev, IFUP, ERR, "Changing to jumbo MTU.\n"); |
4124 | } else if (ndev->mtu == 9000 && new_mtu == 1500) { | 4124 | } else if (ndev->mtu == 9000 && new_mtu == 1500) { |
4125 | QPRINTK(qdev, IFUP, ERR, "Changing to normal MTU.\n"); | 4125 | QPRINTK(qdev, IFUP, ERR, "Changing to normal MTU.\n"); |
4126 | } else if ((ndev->mtu == 1500 && new_mtu == 1500) || | ||
4127 | (ndev->mtu == 9000 && new_mtu == 9000)) { | ||
4128 | return 0; | ||
4129 | } else | 4126 | } else |
4130 | return -EINVAL; | 4127 | return -EINVAL; |
4131 | 4128 | ||