summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm
diff options
context:
space:
mode:
authorEsra Altintas <es.altintas@gmail.com>2014-10-08 21:21:50 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-20 10:29:20 +0800
commit84995ca471ab409413b4938b8133a56ec36ff2f5 (patch)
tree90c093d84ab44aff4bc9329c32d16640e4848f9c /drivers/staging/bcm
parentd9798aa6c33b4da68d9f798e71dca138c9501f74 (diff)
downloadblackbird-op-linux-84995ca471ab409413b4938b8133a56ec36ff2f5.tar.gz
blackbird-op-linux-84995ca471ab409413b4938b8133a56ec36ff2f5.zip
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 <es.altintas@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm')
-rw-r--r--drivers/staging/bcm/Qos.c3
1 files changed, 1 insertions, 2 deletions
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;
}
OpenPOWER on IntegriCloud