Staging: bcm: PHSModule.c: Reduced indentation level by using jump label
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
31f4f3fb15
commit
525afdd170
1 changed files with 39 additions and 36 deletions
|
@ -564,7 +564,9 @@ ULONG PhsDeleteClassifierRule(IN void *pvContext, IN B_UINT16 uiVcid, IN B_UINT1
|
||||||
struct bcm_phs_extension *pDeviceExtension =
|
struct bcm_phs_extension *pDeviceExtension =
|
||||||
(struct bcm_phs_extension *)pvContext;
|
(struct bcm_phs_extension *)pvContext;
|
||||||
|
|
||||||
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);
|
||||||
|
@ -601,7 +603,8 @@ ULONG PhsDeleteClassifierRule(IN void *pvContext, IN B_UINT16 uiVcid, IN B_UINT1
|
||||||
memset(pstClassifierEntry, 0,
|
memset(pstClassifierEntry, 0,
|
||||||
sizeof(struct bcm_phs_classifier_entry));
|
sizeof(struct bcm_phs_classifier_entry));
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
out:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue