diff options
author | Eric Dumazet <edumazet@google.com> | 2024-10-18 07:21:08 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-10-23 13:31:32 +0200 |
commit | e44ef3f66c5472c2cbc6957c684d7279c26b0db1 (patch) | |
tree | 6e619055315f812cf6acd9549febbe0792bb17a9 /net/bridge | |
parent | ipv4: Switch inet_addr_hash() to less predictable hash. (diff) | |
download | linux-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 'net/bridge')
-rw-r--r-- | net/bridge/br_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c index 26b79feb385d..0ab4613aa07a 100644 --- a/net/bridge/br_device.c +++ b/net/bridge/br_device.c @@ -328,7 +328,7 @@ int br_netpoll_enable(struct net_bridge_port *p) return __br_netpoll_enable(p); } -static int br_netpoll_setup(struct net_device *dev, struct netpoll_info *ni) +static int br_netpoll_setup(struct net_device *dev) { struct net_bridge *br = netdev_priv(dev); struct net_bridge_port *p; |