diff options
author | Julian Wiedmann <jwi@linux.vnet.ibm.com> | 2017-06-06 14:33:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-06 13:05:00 -0400 |
commit | cf536ffea99472e043929749508d6656163138a1 (patch) | |
tree | 4f7dcf0c3de05ead3576df3f72cf458d6a0c5781 /drivers/s390 | |
parent | 664e42ac8b1bc39540ac9d657efa45c3e213e6c2 (diff) | |
download | linux-stable-cf536ffea99472e043929749508d6656163138a1.tar.gz linux-stable-cf536ffea99472e043929749508d6656163138a1.tar.bz2 linux-stable-cf536ffea99472e043929749508d6656163138a1.zip |
s390/qeth: silence qeth_fix_features()
Noting the lack of TSO support on every feature change is just silly,
in particular since the requested features might not even affect
NETIF_F_TSO.
Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/net/qeth_core_main.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index a159eb900d03..3cc802cff9d1 100644 --- a/drivers/s390/net/qeth_core_main.c +++ b/drivers/s390/net/qeth_core_main.c @@ -6390,11 +6390,8 @@ netdev_features_t qeth_fix_features(struct net_device *dev, features &= ~NETIF_F_IP_CSUM; if (!qeth_is_supported(card, IPA_INBOUND_CHECKSUM)) features &= ~NETIF_F_RXCSUM; - if (!qeth_is_supported(card, IPA_OUTBOUND_TSO)) { + if (!qeth_is_supported(card, IPA_OUTBOUND_TSO)) features &= ~NETIF_F_TSO; - dev_info(&card->gdev->dev, "Outbound TSO not supported on %s\n", - QETH_CARD_IFNAME(card)); - } /* if the card isn't up, remove features that require hw changes */ if (card->state == CARD_STATE_DOWN || card->state == CARD_STATE_RECOVER) |