Commit cf536ffe authored by Julian Wiedmann's avatar Julian Wiedmann Committed by David S. Miller

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: default avatarJulian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 664e42ac
...@@ -6390,11 +6390,8 @@ netdev_features_t qeth_fix_features(struct net_device *dev, ...@@ -6390,11 +6390,8 @@ netdev_features_t qeth_fix_features(struct net_device *dev,
features &= ~NETIF_F_IP_CSUM; features &= ~NETIF_F_IP_CSUM;
if (!qeth_is_supported(card, IPA_INBOUND_CHECKSUM)) if (!qeth_is_supported(card, IPA_INBOUND_CHECKSUM))
features &= ~NETIF_F_RXCSUM; features &= ~NETIF_F_RXCSUM;
if (!qeth_is_supported(card, IPA_OUTBOUND_TSO)) { if (!qeth_is_supported(card, IPA_OUTBOUND_TSO))
features &= ~NETIF_F_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 the card isn't up, remove features that require hw changes */
if (card->state == CARD_STATE_DOWN || if (card->state == CARD_STATE_DOWN ||
card->state == CARD_STATE_RECOVER) card->state == CARD_STATE_RECOVER)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment