OSDN Git Service

wext: uninline stream addition functions
authorJohannes Berg <johannes.berg@intel.com>
Fri, 13 Jan 2017 08:31:32 +0000 (09:31 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 13 Jan 2017 08:38:42 +0000 (09:38 +0100)
commit10b2eb6949ece992a1dd58edb28e01f05e5bf004
tree9ca9b84e644c40e57a9b7cb28f330e6c16ac29f1
parent2cc6f5a715cf9f7d5ca8fd2bde62130fcfd90b94
wext: uninline stream addition functions

With 78, 111 and 85 bytes respectively (on x86-64), the
functions iwe_stream_add_event(), iwe_stream_add_point()
and iwe_stream_add_value() really shouldn't be inlines.

It appears that at least my compiler already decided
the same, and created a single instance of each one
of them for each file using it, but that's still a
number of instances in the system overall, which this
reduces.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/iw_handler.h
net/wireless/wext-core.c