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 /drivers/net/macvlan.c | |
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 'drivers/net/macvlan.c')
-rw-r--r-- | drivers/net/macvlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index cf18e66de142..edbd5afcec41 100644 --- a/drivers/net/macvlan.c +++ b/drivers/net/macvlan.c @@ -1117,7 +1117,7 @@ static void macvlan_dev_poll_controller(struct net_device *dev) return; } -static int macvlan_dev_netpoll_setup(struct net_device *dev, struct netpoll_info *npinfo) +static int macvlan_dev_netpoll_setup(struct net_device *dev) { struct macvlan_dev *vlan = netdev_priv(dev); struct net_device *real_dev = vlan->lowerdev; |