Commit 84995ca4 authored by Esra Altintas's avatar Esra Altintas Committed by Greg Kroah-Hartman

staging: bcm: Removed unnecessary 'else' after 'return' statement in Qos.c

The following patch fixes the checkpatch.pl warning:
WARNING: else is not generally useful after a break or return
Signed-off-by: default avatarEsra Altintas <es.altintas@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d9798aa6
...@@ -978,8 +978,7 @@ static bool EthCSMatchEThTypeSAP(struct bcm_classifier_rule *pstClassifierRule, ...@@ -978,8 +978,7 @@ static bool EthCSMatchEThTypeSAP(struct bcm_classifier_rule *pstClassifierRule,
if (pstEthCsPktInfo->ucDSAP == if (pstEthCsPktInfo->ucDSAP ==
pstClassifierRule->au8EthCSEtherType[2]) pstClassifierRule->au8EthCSEtherType[2])
return TRUE; return TRUE;
else return false;
return false;
} }
......
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