提交 07e9e619 编写于 作者: D Dogukan Ergun 提交者: Greg Kroah-Hartman

staging: rtl8712: fix else after break or return warning

This patch fixes checkpatch.pl warning.
WARNING: else is not generally useful after a break or return
Signed-off-by: NDogukan Ergun <dogukan.ergun@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 c5b72378
...@@ -813,7 +813,6 @@ static int r871x_wx_set_pmkid(struct net_device *dev, ...@@ -813,7 +813,6 @@ static int r871x_wx_set_pmkid(struct net_device *dev,
case IW_PMKSA_ADD: case IW_PMKSA_ADD:
if (!memcmp(strIssueBssid, strZeroMacAddress, ETH_ALEN)) if (!memcmp(strIssueBssid, strZeroMacAddress, ETH_ALEN))
return intReturn; return intReturn;
else
intReturn = true; intReturn = true;
blInserted = false; blInserted = false;
/* overwrite PMKID */ /* overwrite PMKID */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册