diff options
Diffstat (limited to 'drivers/net/e1000e/ethtool.c')
-rw-r--r-- | drivers/net/e1000e/ethtool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/e1000e/ethtool.c b/drivers/net/e1000e/ethtool.c index 6355a1b779d3..b7f15b3f0e03 100644 --- a/drivers/net/e1000e/ethtool.c +++ b/drivers/net/e1000e/ethtool.c | |||
@@ -368,7 +368,7 @@ out: | |||
368 | static u32 e1000_get_rx_csum(struct net_device *netdev) | 368 | static u32 e1000_get_rx_csum(struct net_device *netdev) |
369 | { | 369 | { |
370 | struct e1000_adapter *adapter = netdev_priv(netdev); | 370 | struct e1000_adapter *adapter = netdev_priv(netdev); |
371 | return (adapter->flags & FLAG_RX_CSUM_ENABLED); | 371 | return adapter->flags & FLAG_RX_CSUM_ENABLED; |
372 | } | 372 | } |
373 | 373 | ||
374 | static int e1000_set_rx_csum(struct net_device *netdev, u32 data) | 374 | static int e1000_set_rx_csum(struct net_device *netdev, u32 data) |
@@ -389,7 +389,7 @@ static int e1000_set_rx_csum(struct net_device *netdev, u32 data) | |||
389 | 389 | ||
390 | static u32 e1000_get_tx_csum(struct net_device *netdev) | 390 | static u32 e1000_get_tx_csum(struct net_device *netdev) |
391 | { | 391 | { |
392 | return ((netdev->features & NETIF_F_HW_CSUM) != 0); | 392 | return (netdev->features & NETIF_F_HW_CSUM) != 0; |
393 | } | 393 | } |
394 | 394 | ||
395 | static int e1000_set_tx_csum(struct net_device *netdev, u32 data) | 395 | static int e1000_set_tx_csum(struct net_device *netdev, u32 data) |