Staging: bcm: PHSModule.c: Reduced indentation by using jump label in PhsDeleteSFRules()
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
93cc6ae8b3
commit
fc38bc1d68
1 changed files with 42 additions and 40 deletions
|
@ -639,7 +639,9 @@ ULONG PhsDeleteSFRules(IN void *pvContext, IN B_UINT16 uiVcid)
|
||||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, PHS_DISPATCH, DBG_LVL_ALL,
|
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, PHS_DISPATCH, DBG_LVL_ALL,
|
||||||
"====>\n");
|
"====>\n");
|
||||||
|
|
||||||
if (pDeviceExtension) {
|
if (!pDeviceExtension)
|
||||||
|
goto out;
|
||||||
|
|
||||||
/* Retrieve the SFID Entry Index for requested Service Flow */
|
/* Retrieve the SFID Entry Index for requested Service Flow */
|
||||||
nSFIndex = GetServiceFlowEntry(pDeviceExtension->pstServiceFlowPhsRulesTable,
|
nSFIndex = GetServiceFlowEntry(pDeviceExtension->pstServiceFlowPhsRulesTable,
|
||||||
uiVcid, &pstServiceFlowEntry);
|
uiVcid, &pstServiceFlowEntry);
|
||||||
|
@ -680,8 +682,8 @@ ULONG PhsDeleteSFRules(IN void *pvContext, IN B_UINT16 uiVcid)
|
||||||
}
|
}
|
||||||
pstServiceFlowEntry->bUsed = false;
|
pstServiceFlowEntry->bUsed = false;
|
||||||
pstServiceFlowEntry->uiVcid = 0;
|
pstServiceFlowEntry->uiVcid = 0;
|
||||||
}
|
|
||||||
|
|
||||||
|
out:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue