mac80211: Deinline drv_get/set/reset_tsf()
authorDenys Vlasenko <dvlasenk@redhat.com>
Wed, 23 Sep 2015 12:18:36 +0000 (14:18 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 29 Sep 2015 13:56:49 +0000 (15:56 +0200)
commit416eb9fc29469f036c85b412edf89774d6b34b0f
tree028a77eb67bc5172ecd90eb17cd832d300486a2c
parent6db96838971eb4c8ae6285795188f391e97d47c3
mac80211: Deinline drv_get/set/reset_tsf()

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

drv_get_tsf: 634 bytes, 6 calls
drv_set_tsf: 626 bytes, 2 calls
drv_reset_tsf: 617 bytes, 2 calls

Total size reduction is about 4.2 kbytes.

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
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/driver-ops.c
net/mac80211/driver-ops.h