summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2017-08-18 13:46:24 -0700
committerDavid S. Miller <davem@davemloft.net>2017-08-18 22:38:31 -0700
commit718ad681eff47d3d04879ff5f5290bdab0b8bad6 (patch)
tree2b0ff2fa25295e63b6763b6ce516490cbcfb176c /include/linux
parentec6cc5993c0f0c1e5a7cbb630c7ecc165e6d9e84 (diff)
downloadlinux-718ad681eff47d3d04879ff5f5290bdab0b8bad6.tar.gz
linux-718ad681eff47d3d04879ff5f5290bdab0b8bad6.tar.bz2
linux-718ad681eff47d3d04879ff5f5290bdab0b8bad6.zip
net: drop unused attribute argument from sysfs queue funcs
The show and store functions don't need/use the attribute. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/netdevice.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index b0c928598dab..c5475b37a631 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -694,10 +694,9 @@ struct netdev_rx_queue {
*/
struct rx_queue_attribute {
struct attribute attr;
- ssize_t (*show)(struct netdev_rx_queue *queue,
- struct rx_queue_attribute *attr, char *buf);
+ ssize_t (*show)(struct netdev_rx_queue *queue, char *buf);
ssize_t (*store)(struct netdev_rx_queue *queue,
- struct rx_queue_attribute *attr, const char *buf, size_t len);
+ const char *buf, size_t len);
};
#ifdef CONFIG_XPS