mac80211: deinline drv_sta_state
authorDenys Vlasenko <dvlasenk@redhat.com>
Wed, 15 Jul 2015 12:56:05 +0000 (14:56 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 17 Jul 2015 13:48:50 +0000 (15:48 +0200)
commit727da60be91c9fd59f1b084ca537b5123ab97744
treebed8b51c65e6684f33961c102ba83c8019d8a558
parent0e0060fcfb3d0f5a53ef43e7b6a50227b934ab7c
mac80211: deinline drv_sta_state

With this .config: http://busybox.net/~vda/kernel_config,
after deinlining the function size is 3132 bytes and there are
7 callsites.

Total size reduction: about 20 kbytes.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
CC: John Linville <linville@tuxdriver.com>
CC: Michal Kazior <michal.kazior@tieto.com>
Cc: Johannes Berg <johannes.berg@intel.com>
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
CC: linux-kernel@vger.kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/Makefile
net/mac80211/driver-ops.c [new file with mode: 0644]
net/mac80211/driver-ops.h