diff options
| author | 2009-12-23 13:15:45 +0100 | |
|---|---|---|
| committer | 2009-12-28 16:55:07 -0500 | |
| commit | 1ed32e4fc8cfc9656cc1101e7f9617d485fcbe7b (patch) | |
| tree | 81697637a36eb4776df39c81a77a9e09ec951a1a /net/mac80211/work.c | |
| parent | mac80211/cfg80211: add station events (diff) | |
| download | linux-dev-1ed32e4fc8cfc9656cc1101e7f9617d485fcbe7b.tar.xz linux-dev-1ed32e4fc8cfc9656cc1101e7f9617d485fcbe7b.zip | |
mac80211: remove struct ieee80211_if_init_conf
All its members (vif, mac_addr, type) are now available
in the vif struct directly, so we can pass that instead
of the conf struct. I generated this patch (except the
mac80211 and header file changes) with this semantic
patch:
@@
identifier conf, fn, hw;
type tp;
@@
tp fn(struct ieee80211_hw *hw,
-struct ieee80211_if_init_conf *conf)
+struct ieee80211_vif *vif)
{
<...
(
-conf->type
+vif->type
|
-conf->mac_addr
+vif->addr
|
-conf->vif
+vif
)
...>
}
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/work.c')
0 files changed, 0 insertions, 0 deletions
