summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/atmel_cs.c
diff options
context:
space:
mode:
authorDenis ChengRq <crquan@gmail.com>2008-09-22 20:35:37 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-09-24 22:18:04 +0200
commit638af07386972861272ed9d0cff01cad528fdceb (patch)
tree325176c8c46a7557531b571c1e897170d1073878 /drivers/net/wireless/atmel_cs.c
parentrt2x00: Fix HW crypto key handling (diff)
downloadlinux-638af07386972861272ed9d0cff01cad528fdceb.tar.xz
linux-638af07386972861272ed9d0cff01cad528fdceb.zip
wireless: a global static to local static improvement
There are two improvements in this simple patch: 1. wiphy_counter is a static var only used in one function, so can use local static instead of global static; 2. wiphy_counter wrap handling killed one comparision; Signed-off-by: Denis ChengRq <crquan@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/atmel_cs.c')
0 files changed, 0 insertions, 0 deletions