mac80211: Deinline drv_add/remove/change_interface()
authorDenys Vlasenko <dvlasenk@redhat.com>
Fri, 18 Sep 2015 13:19:38 +0000 (15:19 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 29 Sep 2015 13:56:46 +0000 (15:56 +0200)
commit9aae296a6208188fb40da987efb6bcd92f4fb169
tree04b6dd2aaf41d6d9df8983ebbafa963693358a20
parent4fbd572c29bd184146e8adf52631db193c4e34b9
mac80211: Deinline drv_add/remove/change_interface()

With this .config: http://busybox.net/~vda/kernel_config_ALLYES_Os,
after deinlining these functions have sizes and callsite counts
as follows:

drv_add_interface: 638 bytes, 5 calls
drv_remove_interface: 611 bytes, 6 calls
drv_change_interface: 658 bytes, 1 call

Total size reduction is about 9 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: linux-kernel@vger.kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/driver-ops.c
net/mac80211/driver-ops.h