From: Johannes Berg Date: Wed, 23 Dec 2009 12:15:45 +0000 (+0100) Subject: mac80211: remove struct ieee80211_if_init_conf X-Git-Tag: v2.6.34-rc1~233^2~682^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ed32e4fc8cfc9656cc1101e7f9617d485fcbe7b;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed