Commit 99fdb36e authored by Yeliz Taneroglu's avatar Yeliz Taneroglu Committed by Greg Kroah-Hartman

staging: vt6655: Fixed else after return or break warning

The following patch fixes the checkpatch.pl warning:

drivers/staging/vt6655/vntwifi.c warning: else is not generally useful after a break or return
Signed-off-by: default avatarYeliz Taneroglu <yeliztaneroglu@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ac23fed8
......@@ -578,8 +578,7 @@ VNTWIFIbyGetKeyCypher(
if (bGroupKey)
return pMgmt->byCSSGK;
else
return pMgmt->byCSSPK;
return pMgmt->byCSSPK;
}
bool
......@@ -614,8 +613,7 @@ VNTWIFIwGetMaxSupportRate(
if (pMgmt->eCurrentPHYMode == PHY_TYPE_11A)
return RATE_6M;
else
return RATE_1M;
return RATE_1M;
}
void
......
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