]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/wireless/reg.c
cfg80211: remove wiphy_idx_valid
authorJohannes Berg <johannes.berg@intel.com>
Mon, 3 Dec 2012 17:23:37 +0000 (18:23 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:23 +0000 (13:01 +0100)
commitf41737669d2f4c07c09e90767498243e142171f9
tree2ac531e5ec1ffefe17f4bb81b0d8d420e48f9499
parent2f92212b71f198d42060f7133ff1dc4edf438f6c
cfg80211: remove wiphy_idx_valid

This is pretty much useless since get_wiphy_idx()
always returns true since it's always called with
a valid wiphy pointer.

Acked-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/core.c
net/wireless/core.h
net/wireless/nl80211.c
net/wireless/reg.c