]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
nl80211: remove nl80211_prepare_wdev_dump() skb argument
authorJohannes Berg <johannes.berg@intel.com>
Thu, 27 Sep 2018 12:36:44 +0000 (14:36 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 2 Oct 2018 07:56:30 +0000 (09:56 +0200)
commit5297c65c1d48a439c778c56edc6beedb486e4bbd
treee65f67894cef3034fb139009cea2ffcb15156cd9
parent81e54d08d9d845053111f30045a93f3eb1c3ca96
nl80211: remove nl80211_prepare_wdev_dump() skb argument

nl80211_prepare_wdev_dump() is using the output skb to look up
the network namespace, but this isn't really necessary, it can
just as well use the input skb which is available as cb->skb,
the sk is the same anyway.

Therefore, remove the redundant argument.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c