iwlagn: solve sparse warning
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Fri, 27 May 2011 15:40:27 +0000 (08:40 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 1 Jun 2011 19:36:33 +0000 (15:36 -0400)
commit3d82b15608ad97627ced4d3bd42ae10297c2f87d
treed9a94332b40864bd94c7d69b331212c5d2238aef
parent2b9253d2a0439bd247d9384921ff23e7ac6bba52
iwlagn: solve sparse warning

Remove local variable that was shadowing another one
sta_priv hasn't changed since the beginning of the function, so don't define
another pointer with the same name to the same variable

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c