Staging: bcm: Shortened lines in DeleteClassifierRuleFromSF()
authorMatthias Beyer <mail@beyermatthias.de>
Fri, 23 May 2014 20:23:57 +0000 (22:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 22:26:38 +0000 (07:26 +0900)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/CmHost.c

index aa121b7c879818f681ac9fb46c23dff975818b86..918661937f1e1036aa2c1acdb74b619861ac8227 100644 (file)
@@ -370,7 +370,8 @@ static inline VOID CopyClassifierRuleToSF(struct bcm_mini_adapter *Adapter, stru
 /*
  * @ingroup ctrl_pkt_functions
  */
-static inline VOID DeleteClassifierRuleFromSF(struct bcm_mini_adapter *Adapter, UINT uiSearchRuleIndex, UINT nClassifierIndex)
+static inline VOID DeleteClassifierRuleFromSF(struct bcm_mini_adapter *Adapter,
+               UINT uiSearchRuleIndex, UINT nClassifierIndex)
 {
        struct bcm_classifier_rule *pstClassifierEntry = NULL;
        B_UINT16 u16PacketClassificationRuleIndex;
@@ -386,15 +387,18 @@ static inline VOID DeleteClassifierRuleFromSF(struct bcm_mini_adapter *Adapter,
        if (usVCID == 0)
                return;
 
-       u16PacketClassificationRuleIndex = Adapter->astClassifierTable[nClassifierIndex].uiClassifierRuleIndex;
+       u16PacketClassificationRuleIndex =
+               Adapter->astClassifierTable[nClassifierIndex].uiClassifierRuleIndex;
        pstClassifierEntry = &Adapter->astClassifierTable[nClassifierIndex];
        if (pstClassifierEntry) {
                pstClassifierEntry->bUsed = false;
                pstClassifierEntry->uiClassifierRuleIndex = 0;
-               memset(pstClassifierEntry, 0, sizeof(struct bcm_classifier_rule));
+               memset(pstClassifierEntry, 0,
+                               sizeof(struct bcm_classifier_rule));
 
                /* Delete the PHS Rule for this classifier */
-               PhsDeleteClassifierRule(&Adapter->stBCMPhsContext, usVCID, u16PacketClassificationRuleIndex);
+               PhsDeleteClassifierRule(&Adapter->stBCMPhsContext, usVCID,
+                               u16PacketClassificationRuleIndex);
        }
 }