]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/s390/net/qeth_core_main.c
Merge tag 'asoc-fix-v4.10-rc3' into asoc-linus
[karo-tx-linux.git] / drivers / s390 / net / qeth_core_main.c
index 20cf29613043a7f87a29c444ff2be88d87ae3a53..e33558313834dc5e118d478fb5595452f2f6c9ed 100644 (file)
@@ -4202,10 +4202,6 @@ int qeth_change_mtu(struct net_device *dev, int new_mtu)
        sprintf(dbf_text, "%8x", new_mtu);
        QETH_CARD_TEXT(card, 4, dbf_text);
 
-       if (new_mtu < 64)
-               return -EINVAL;
-       if (new_mtu > 65535)
-               return -EINVAL;
        if ((!qeth_is_supported(card, IPA_IP_FRAGMENTATION)) &&
            (!qeth_mtu_is_valid(card, new_mtu)))
                return -EINVAL;