commit | 638af07386972861272ed9d0cff01cad528fdceb | [log] [tgz] |
---|---|---|
author | Denis ChengRq <crquan@gmail.com> | Tue Sep 23 02:35:37 2008 +0800 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Sep 24 16:18:04 2008 -0400 |
tree | 325176c8c46a7557531b571c1e897170d1073878 | |
parent | acaf908d408ccd49f13aeb46cbd4428a4db174d1 [diff] |
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>