diff options
Diffstat (limited to 'net/core/ethtool.c')
-rw-r--r-- | net/core/ethtool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/ethtool.c b/net/core/ethtool.c index 6168edd137..8d5e5a09b5 100644 --- a/net/core/ethtool.c +++ b/net/core/ethtool.c | |||
@@ -836,7 +836,7 @@ int dev_ethtool(struct ifreq *ifr) | |||
836 | return -EPERM; | 836 | return -EPERM; |
837 | } | 837 | } |
838 | 838 | ||
839 | if(dev->ethtool_ops->begin) | 839 | if (dev->ethtool_ops->begin) |
840 | if ((rc = dev->ethtool_ops->begin(dev)) < 0) | 840 | if ((rc = dev->ethtool_ops->begin(dev)) < 0) |
841 | return rc; | 841 | return rc; |
842 | 842 | ||
@@ -952,7 +952,7 @@ int dev_ethtool(struct ifreq *ifr) | |||
952 | rc = -EOPNOTSUPP; | 952 | rc = -EOPNOTSUPP; |
953 | } | 953 | } |
954 | 954 | ||
955 | if(dev->ethtool_ops->complete) | 955 | if (dev->ethtool_ops->complete) |
956 | dev->ethtool_ops->complete(dev); | 956 | dev->ethtool_ops->complete(dev); |
957 | 957 | ||
958 | if (old_features != dev->features) | 958 | if (old_features != dev->features) |