From: Amitkumar Karwar Date: Tue, 27 Sep 2011 03:37:24 +0000 (-0700) Subject: mwifiex: remove unreachable code X-Git-Tag: v3.2-rc1~129^2~104^2^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbaaf592b742ccecfd066e796cdb1eda461f4db2;p=pandora-kernel.git 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 Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed