summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-10-18 07:21:08 +0200
committerPaolo Abeni <pabeni@redhat.com>2024-10-23 13:31:32 +0200
commite44ef3f66c5472c2cbc6957c684d7279c26b0db1 (patch)
tree6e619055315f812cf6acd9549febbe0792bb17a9 /drivers/net/bonding/bond_main.c
parentipv4: Switch inet_addr_hash() to less predictable hash. (diff)
downloadlinux-e44ef3f66c5472c2cbc6957c684d7279c26b0db1.tar.xz
linux-e44ef3f66c5472c2cbc6957c684d7279c26b0db1.zip
netpoll: remove ndo_netpoll_setup() second argument
npinfo is not used in any of the ndo_netpoll_setup() methods. Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20241018052108.2610827-1-edumazet@google.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-rw-r--r--drivers/net/bonding/bond_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index b1bffd8e9a95..3928287f5865 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -1476,7 +1476,7 @@ static void bond_netpoll_cleanup(struct net_device *bond_dev)
slave_disable_netpoll(slave);
}
-static int bond_netpoll_setup(struct net_device *dev, struct netpoll_info *ni)
+static int bond_netpoll_setup(struct net_device *dev)
{
struct bonding *bond = netdev_priv(dev);
struct list_head *iter;