mac80211: deinline rate_control_rate_init, rate_control_rate_update
authorDenys Vlasenko <dvlasenk@redhat.com>
Wed, 15 Jul 2015 12:56:06 +0000 (14:56 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 17 Jul 2015 13:50:02 +0000 (15:50 +0200)
commiteb6d9293dfed245a114cad7d975259963e1e04c2
treeb50ea6e3c640e0578f1b779aad135dacbdead0d3
parent727da60be91c9fd59f1b084ca537b5123ab97744
mac80211: deinline rate_control_rate_init, rate_control_rate_update

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

rate_control_rate_init: 554 bytes, 8 calls
rate_control_rate_update: 1596 bytes, 5 calls

Total size reduction: about 11 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/rate.c
net/mac80211/rate.h