]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: Use static const
authorJoe Perches <joe@perches.com>
Sun, 21 Nov 2010 02:38:52 +0000 (18:38 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Nov 2010 20:58:43 +0000 (15:58 -0500)
commitb8f42f029c1f6527631f33944291d7f9ddf5b2bd
tree1f86e9f9cd9f3943fa854c73e41fa885cb6b91a7
parentbc503d5c35867433cabcdf5050823051b127aaaa
ath5k: Use static const

Using static const generally increases object text and decreases data size.
It also generally decreases overall object size.

   text    data     bss     dec     hex filename
  11266      56    2464   13786    35da drivers/net/wireless/ath/ath5k/ani.o.old
  11181      56    2464   13701    3585 drivers/net/wireless/ath/ath5k/ani.o.new

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/ani.c