diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2011-09-26 20:37:24 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-30 15:56:59 -0400 |
commit | cbaaf592b742ccecfd066e796cdb1eda461f4db2 (patch) | |
tree | 6f5ce9b4d91cab8cbc8cbf304b411492120fc505 /mm/huge_memory.c | |
parent | 82df4d38a0194ad1804d1ab4716577d194be5a53 (diff) | |
download | kernel_samsung_smdk4412-cbaaf592b742ccecfd066e796cdb1eda461f4db2.zip kernel_samsung_smdk4412-cbaaf592b742ccecfd066e796cdb1eda461f4db2.tar.gz kernel_samsung_smdk4412-cbaaf592b742ccecfd066e796cdb1eda461f4db2.tar.bz2 |
mwifiex: remove unreachable code
In disconnected state "iw dev mlan0 link" command will return
from cfg80211 stack itself. We also have an error check in
mwifiex_cfg80211_get_station() routine. Therefore the code
under "if (!priv->media_connected)" condition in
mwifiex_rate_ioctl_get_rate_value() routine becomes unreachable.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'mm/huge_memory.c')
0 files changed, 0 insertions, 0 deletions