commit | ea4eb7fb0c6c5bb56fcbf2181f2d43cdfa95265a | [log] [tgz] |
---|---|---|
author | Bing Zhao <bzhao@marvell.com> | Fri Jul 11 20:57:14 2014 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Jul 15 16:00:07 2014 -0400 |
tree | e460aa22dd9e257d7bc30a9801a379c314ad08de | |
parent | 30fa51c8889bfad475a6c7ec46a203092da5c162 [diff] |
mwifiex: declare sta_ptr in smaller scope 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>