]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
rt2x00: Make rt2x00_set/get_field macros
authorIvo van Doorn <IvDoorn@gmail.com>
Tue, 3 Jun 2008 18:29:43 +0000 (20:29 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 14 Jun 2008 16:17:55 +0000 (12:17 -0400)
commitc483bb4cbdeb24d9d3bc0dc4248fdcb1f4c55244
treee495da16c44655ed848643a0218db2ec4dec75ff
parent70249816a87b3c2293dc7b33331e614c67666336
rt2x00: Make rt2x00_set/get_field macros

The rt2x00_set_field functions are very often used,
but GCC is better able to optimize them when they
are macros instead of static inline functions.

After changing it to macro's each rt2x00 driver will
loose about ~3500 bytes in size.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00reg.h