From: Tapasweni Pathak Date: Wed, 22 Oct 2014 06:05:21 +0000 (+0530) Subject: staging: rtl8723au: Remove unnecessary else if X-Git-Tag: v3.19-rc1~66^2~1041 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=029bf13814d46d66aecd18c20f0e0c278696c5dc;p=karo-tx-linux.git staging: rtl8723au: Remove unnecessary else if Removed the unnecessary else if condition as it has only one comment inside it and do not have an FIXME or TODO comment near to it too. Signed-off-by: Tapasweni Pathak Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c index c567df6c6321..2f01714bc9e2 100644 --- a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c +++ b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c @@ -850,7 +850,6 @@ static int rtw_cfg80211_set_encryption(struct net_device *dev, u8 key_index, dot11PrivacyAlgrthm; } } - } else if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) { /* adhoc mode */ } }