From: Esra Altintas Date: Wed, 8 Oct 2014 18:21:50 +0000 (+0300) Subject: staging: bcm: Removed unnecessary 'else' after 'return' statement in Qos.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=84995ca471ab409413b4938b8133a56ec36ff2f5;p=linux-beck.git 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: Esra Altintas Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/bcm/Qos.c b/drivers/staging/bcm/Qos.c index b3ac614cd35f..0f16c6342799 100644 --- a/drivers/staging/bcm/Qos.c +++ b/drivers/staging/bcm/Qos.c @@ -978,8 +978,7 @@ static bool EthCSMatchEThTypeSAP(struct bcm_classifier_rule *pstClassifierRule, if (pstEthCsPktInfo->ucDSAP == pstClassifierRule->au8EthCSEtherType[2]) return TRUE; - else - return false; + return false; }