提交 28eb51f7 编写于 作者: J Janani Sankara Babu 提交者: Greg Kroah-Hartman

staging:rtl8188eu:core Fix remove unneccessary else block

This patch removes the unwanted braces and else statement inside the
function 'SecIsInPMKIDList'
Signed-off-by: NJanani Sankara Babu <jananis37@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 9ea859b1
......@@ -1705,14 +1705,9 @@ static int SecIsInPMKIDList(struct adapter *Adapter, u8 *bssid)
do {
if ((psecuritypriv->PMKIDList[i].bUsed) &&
(!memcmp(psecuritypriv->PMKIDList[i].Bssid, bssid, ETH_ALEN))) {
(!memcmp(psecuritypriv->PMKIDList[i].Bssid, bssid, ETH_ALEN)))
break;
} else {
i++;
/* continue; */
}
} while (i < NUM_PMKID_CACHE);
} while (++i < NUM_PMKID_CACHE);
if (i == NUM_PMKID_CACHE)
i = -1;/* Could not find. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册