Staging: bcm: PHSModule.c: Shortened lines
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
525afdd170
commit
93cc6ae8b3
1 changed files with 14 additions and 10 deletions
|
@ -576,12 +576,14 @@ ULONG PhsDeleteClassifierRule(IN void *pvContext, IN B_UINT16 uiVcid, IN B_UINT1
|
||||||
return ERR_SF_MATCH_FAIL;
|
return ERR_SF_MATCH_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
nClsidIndex = GetClassifierEntry(pstServiceFlowEntry->pstClassifierTable,
|
nClsidIndex =
|
||||||
uiClsId,
|
GetClassifierEntry(pstServiceFlowEntry->pstClassifierTable,
|
||||||
eActiveClassifierRuleContext,
|
uiClsId,
|
||||||
&pstClassifierEntry);
|
eActiveClassifierRuleContext,
|
||||||
|
&pstClassifierEntry);
|
||||||
|
|
||||||
if ((nClsidIndex != PHS_INVALID_TABLE_INDEX) && (!pstClassifierEntry->bUnclassifiedPHSRule)) {
|
if ((nClsidIndex != PHS_INVALID_TABLE_INDEX) &&
|
||||||
|
(!pstClassifierEntry->bUnclassifiedPHSRule)) {
|
||||||
if (pstClassifierEntry->pstPhsRule) {
|
if (pstClassifierEntry->pstPhsRule) {
|
||||||
if (pstClassifierEntry->pstPhsRule->u8RefCnt)
|
if (pstClassifierEntry->pstPhsRule->u8RefCnt)
|
||||||
pstClassifierEntry->pstPhsRule->u8RefCnt--;
|
pstClassifierEntry->pstPhsRule->u8RefCnt--;
|
||||||
|
@ -593,12 +595,14 @@ ULONG PhsDeleteClassifierRule(IN void *pvContext, IN B_UINT16 uiVcid, IN B_UINT1
|
||||||
sizeof(struct bcm_phs_classifier_entry));
|
sizeof(struct bcm_phs_classifier_entry));
|
||||||
}
|
}
|
||||||
|
|
||||||
nClsidIndex = GetClassifierEntry(pstServiceFlowEntry->pstClassifierTable,
|
nClsidIndex =
|
||||||
uiClsId,
|
GetClassifierEntry(pstServiceFlowEntry->pstClassifierTable,
|
||||||
eOldClassifierRuleContext,
|
uiClsId,
|
||||||
&pstClassifierEntry);
|
eOldClassifierRuleContext,
|
||||||
|
&pstClassifierEntry);
|
||||||
|
|
||||||
if ((nClsidIndex != PHS_INVALID_TABLE_INDEX) && (!pstClassifierEntry->bUnclassifiedPHSRule)) {
|
if ((nClsidIndex != PHS_INVALID_TABLE_INDEX) &&
|
||||||
|
(!pstClassifierEntry->bUnclassifiedPHSRule)) {
|
||||||
kfree(pstClassifierEntry->pstPhsRule);
|
kfree(pstClassifierEntry->pstPhsRule);
|
||||||
memset(pstClassifierEntry, 0,
|
memset(pstClassifierEntry, 0,
|
||||||
sizeof(struct bcm_phs_classifier_entry));
|
sizeof(struct bcm_phs_classifier_entry));
|
||||||
|
|
Loading…
Add table
Reference in a new issue