summaryrefslogtreecommitdiff
path: root/net/ethtool/mm.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ethtool/mm.c')
-rw-r--r--net/ethtool/mm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ethtool/mm.c b/net/ethtool/mm.c
index e612856eed8c..fce3cc2734f9 100644
--- a/net/ethtool/mm.c
+++ b/net/ethtool/mm.c
@@ -247,5 +247,5 @@ bool __ethtool_dev_mm_supported(struct net_device *dev)
if (ops && ops->get_mm)
ret = ops->get_mm(dev, &state);
- return !!ret;
+ return !ret;
}