mwifiex: declare sta_ptr in smaller scope
authorBing Zhao <bzhao@marvell.com>
Sat, 12 Jul 2014 03:57:14 +0000 (20:57 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 Jul 2014 20:00:07 +0000 (16:00 -0400)
sta_ptr is used only in an 'if' branch in this function.
Move it to the smaller scope where it is used.

Reported-by: Paul Stewart <pstew@chromium.org>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/11n.c

Simple merge