mac80211: Deinline drv_switch_vif_chanctx()
authorDenys Vlasenko <dvlasenk@redhat.com>
Wed, 23 Sep 2015 12:18:34 +0000 (14:18 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 29 Sep 2015 13:56:48 +0000 (15:56 +0200)
commit42677ed33a8b6995e6af2ec15643840afcf1c48b
treed4ef88bcde974bfaae2eacac191530c5804ace1a
parent0e5c371aa05522ac14e91ddee0522ad855e12d02
mac80211: Deinline drv_switch_vif_chanctx()

With this .config: http://busybox.net/~vda/kernel_config_ALLYES_Os,
after deinlining the function size is 821 bytes and there are
2 callsites, reducing code size by about 800 bytes.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
CC: Johannes Berg <johannes.berg@intel.com>
CC: John Linville <linville@tuxdriver.com>
CC: Michal Kazior <michal.kazior@tieto.com>
CC: linux-wireless@vger.kernel.org
CC: linux-kernel@vger.kernel.org
[adjust code-style a bit]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/driver-ops.c
net/mac80211/driver-ops.h