Commit 07e9e619 authored by Dogukan Ergun's avatar Dogukan Ergun Committed by 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: default avatarDogukan Ergun <dogukan.ergun@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c5b72378
......@@ -813,8 +813,7 @@ static int r871x_wx_set_pmkid(struct net_device *dev,
case IW_PMKSA_ADD:
if (!memcmp(strIssueBssid, strZeroMacAddress, ETH_ALEN))
return intReturn;
else
intReturn = true;
intReturn = true;
blInserted = false;
/* overwrite PMKID */
for (j = 0; j < NUM_PMKID_CACHE; j++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment