summaryrefslogtreecommitdiff
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2017-08-18 23:46:24 +0300
committerDavid S. Miller <davem@davemloft.net>2017-08-19 08:38:31 +0300
commit718ad681eff47d3d04879ff5f5290bdab0b8bad6 (patch)
tree2b0ff2fa25295e63b6763b6ce516490cbcfb176c /drivers/net/virtio_net.c
parentec6cc5993c0f0c1e5a7cbb630c7ecc165e6d9e84 (diff)
downloadlinux-718ad681eff47d3d04879ff5f5290bdab0b8bad6.tar.xz
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 'drivers/net/virtio_net.c')
-rw-r--r--drivers/net/virtio_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index 4302f313d9a7..52ae78ca3d38 100644
--- a/drivers/net/virtio_net.c
+++ b/drivers/net/virtio_net.c
@@ -2376,7 +2376,7 @@ err:
#ifdef CONFIG_SYSFS
static ssize_t mergeable_rx_buffer_size_show(struct netdev_rx_queue *queue,
- struct rx_queue_attribute *attribute, char *buf)
+ char *buf)
{
struct virtnet_info *vi = netdev_priv(queue->dev);
unsigned int queue_index = get_netdev_rx_queue_index(queue);