diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-02-20 11:54:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-22 04:05:53 +0100 |
commit | d340c862e760815bca2f2a4d8fd91dff4646a955 (patch) | |
tree | 0c70c0d4a5c4d1db9bc549d8dcd4f412c0c7314d /net/core/ethtool.c | |
parent | ipv6: Replace "#include <asm/uaccess>" with "#include <linux/uaccess>" (diff) | |
download | linux-d340c862e760815bca2f2a4d8fd91dff4646a955.tar.xz linux-d340c862e760815bca2f2a4d8fd91dff4646a955.zip |
ethtool: use "ops" name consistenty in ethtool_set_rxfh()
"dev->ethtool_ops" and "ops" are the same, but we should use "ops"
everywhere to be consistent.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/ethtool.c')
-rw-r--r-- | net/core/ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/ethtool.c b/net/core/ethtool.c index 91f74f3eb204..eb0c3ace7458 100644 --- a/net/core/ethtool.c +++ b/net/core/ethtool.c @@ -789,7 +789,7 @@ static noinline_for_stack int ethtool_set_rxfh(struct net_device *dev, if (ops->get_rxfh_indir_size) dev_indir_size = ops->get_rxfh_indir_size(dev); if (ops->get_rxfh_key_size) - dev_key_size = dev->ethtool_ops->get_rxfh_key_size(dev); + dev_key_size = ops->get_rxfh_key_size(dev); if (copy_from_user(&rxfh, useraddr, sizeof(rxfh))) return -EFAULT; |