diff options
author | Dogukan Ergun <dogukan.ergun@gmail.com> | 2015-06-13 15:04:26 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-13 14:45:51 -0700 |
commit | 07e9e619db50ad6704e714f8160a59f1de3cf93c (patch) | |
tree | 14cd247d65e370a7934252b9b7acc3419ffd3f53 /drivers/staging/rtl8712 | |
parent | c5b72378a2a47f2ef64eb6a76a8627300999d874 (diff) |
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: Dogukan Ergun <dogukan.ergun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712')
-rw-r--r-- | drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c index cb0b6387789f..3388f971fb48 100644 --- a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c +++ b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c @@ -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++) { |