]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7054be7a65ff941cc2bcb441894344808c718be1
tree9ca9b84e644c40e57a9b7cb28f330e6c16ac29f1
parent8fdc56825510e81511c8fdc492fa4d70f4231084
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