Commit 3be738ad authored by Matthias Beyer's avatar Matthias Beyer Committed by Greg Kroah-Hartman
Browse files

Staging: bcm: PHSModule.c: Replaced if-else return code with simple return assertion

parent 91283491
Loading
Loading
Loading
Loading
+1 −9
Original line number Diff line number Diff line
@@ -1343,15 +1343,7 @@ static bool DerefPhsRule(IN B_UINT16 uiClsId,
	if (pstPhsRule->u8RefCnt)
		pstPhsRule->u8RefCnt--;

	if (0 == pstPhsRule->u8RefCnt) {
		/*
		 * if(pstPhsRule->u8PHSI)
		 * Store the currently active rule into the old rules list
		 * CreateClassifierPHSRule(uiClsId,psaClassifiertable,pstPhsRule,eOldClassifierRuleContext,pstPhsRule->u8PHSI);
		 */
		return TRUE;
	} else
		return false;
	return (0 == pstPhsRule->u8RefCnt);
}

static void dbg_print_st_cls_entry(struct bcm_mini_adapter *ad,