Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 821a464c authored by Sarah Khan's avatar Sarah Khan Committed by Greg Kroah-Hartman
Browse files

staging: bcm: Removed unnecessary braces after return



WARNING: else is generally not useful after return
checkpatch.pl warning in PHSModule.c

Signed-off-by: default avatarSarah Khan <sarahjmi07@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9d1ffa07
Loading
Loading
Loading
Loading
+8 −12
Original line number Original line Diff line number Diff line
@@ -1244,19 +1244,15 @@ static UINT CreateClassifierPHSRule(IN B_UINT16 uiClsId,


		if (eClsContext == eActiveClassifierRuleContext)
		if (eClsContext == eActiveClassifierRuleContext)
			return ERR_CLSASSIFIER_TABLE_FULL;
			return ERR_CLSASSIFIER_TABLE_FULL;
		else {
		/* Lets replace the oldest rule if we are looking in
		/* Lets replace the oldest rule if we are looking in
		* old Rule table */
		* old Rule table */
		if (psaClassifiertable->uiOldestPhsRuleIndex >= MAX_PHSRULE_PER_SF)
		if (psaClassifiertable->uiOldestPhsRuleIndex >= MAX_PHSRULE_PER_SF)
			psaClassifiertable->uiOldestPhsRuleIndex = 0;
			psaClassifiertable->uiOldestPhsRuleIndex = 0;


			iClassifierIndex =
		iClassifierIndex = psaClassifiertable->uiOldestPhsRuleIndex;
				psaClassifiertable->uiOldestPhsRuleIndex;
		psClassifierRules = &psaClassifiertable->stOldPhsRulesList[iClassifierIndex];
			psClassifierRules =
				&psaClassifiertable->stOldPhsRulesList[iClassifierIndex];


			(psaClassifiertable->uiOldestPhsRuleIndex)++;
		psaClassifiertable->uiOldestPhsRuleIndex++;
		}
	}
	}


	if (eClsContext == eOldClassifierRuleContext) {
	if (eClsContext == eOldClassifierRuleContext) {