]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Staging: bcm: PHSModule.c: Shortened lines
authorMatthias Beyer <mail@beyermatthias.de>
Tue, 15 Jul 2014 07:43:00 +0000 (09:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jul 2014 15:09:48 +0000 (08:09 -0700)
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>
drivers/staging/bcm/PHSModule.c

index a11474c51fa9cb19e988386fc9cd2cdd4c62b645..7ced228a155d3a4c27da959defb1156af0e4d808 100644 (file)
@@ -576,12 +576,14 @@ ULONG PhsDeleteClassifierRule(IN void *pvContext, IN B_UINT16 uiVcid, IN B_UINT1
                return ERR_SF_MATCH_FAIL;
        }
 
-       nClsidIndex = GetClassifierEntry(pstServiceFlowEntry->pstClassifierTable,
-                                        uiClsId,
-                                        eActiveClassifierRuleContext,
-                                        &pstClassifierEntry);
-
-       if ((nClsidIndex != PHS_INVALID_TABLE_INDEX) && (!pstClassifierEntry->bUnclassifiedPHSRule)) {
+       nClsidIndex =
+               GetClassifierEntry(pstServiceFlowEntry->pstClassifierTable,
+                                  uiClsId,
+                                  eActiveClassifierRuleContext,
+                                  &pstClassifierEntry);
+
+       if ((nClsidIndex != PHS_INVALID_TABLE_INDEX) &&
+                       (!pstClassifierEntry->bUnclassifiedPHSRule)) {
                if (pstClassifierEntry->pstPhsRule) {
                        if (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));
        }
 
-       nClsidIndex = GetClassifierEntry(pstServiceFlowEntry->pstClassifierTable,
-                                        uiClsId,
-                                        eOldClassifierRuleContext,
-                                        &pstClassifierEntry);
+       nClsidIndex =
+               GetClassifierEntry(pstServiceFlowEntry->pstClassifierTable,
+                                  uiClsId,
+                                  eOldClassifierRuleContext,
+                                  &pstClassifierEntry);
 
-       if ((nClsidIndex != PHS_INVALID_TABLE_INDEX) && (!pstClassifierEntry->bUnclassifiedPHSRule)) {
+       if ((nClsidIndex != PHS_INVALID_TABLE_INDEX) &&
+                       (!pstClassifierEntry->bUnclassifiedPHSRule)) {
                kfree(pstClassifierEntry->pstPhsRule);
                memset(pstClassifierEntry, 0,
                       sizeof(struct bcm_phs_classifier_entry));