projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcba156
)
hv_netvsc: Clean up unused parameter from netvsc_get_rss_hash_opts()
author
Haiyang Zhang
<haiyangz@microsoft.com>
Tue, 22 Aug 2017 02:22:38 +0000
(19:22 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 22 Aug 2017 21:08:11 +0000
(14:08 -0700)
The parameter "nvdev" is not in use.
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/hyperv/netvsc_drv.c
b/drivers/net/hyperv/netvsc_drv.c
index 4677d214cc1f51adcef0501a1caf0e623e23cd85..d8612b1a8e4eb0291cf563463a0c8917dca0b342 100644
(file)
--- a/
drivers/net/hyperv/netvsc_drv.c
+++ b/
drivers/net/hyperv/netvsc_drv.c
@@
-1228,8
+1228,7
@@
static void netvsc_get_strings(struct net_device *dev, u32 stringset, u8 *data)
}
static int
-netvsc_get_rss_hash_opts(struct netvsc_device *nvdev,
- struct ethtool_rxnfc *info)
+netvsc_get_rss_hash_opts(struct ethtool_rxnfc *info)
{
info->data = RXH_IP_SRC | RXH_IP_DST;
@@
-1267,7
+1266,7
@@
netvsc_get_rxnfc(struct net_device *dev, struct ethtool_rxnfc *info,
return 0;
case ETHTOOL_GRXFH:
- return netvsc_get_rss_hash_opts(
nvdev,
info);
+ return netvsc_get_rss_hash_opts(info);
}
return -EOPNOTSUPP;
}