Staging: bcm: Qos.c: checkpatch.pl fix: Indentation of case-statements fixed
authorMatthias Beyer <mail@beyermatthias.de>
Tue, 29 Jul 2014 14:52:39 +0000 (16:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Jul 2014 00:14:24 +0000 (17:14 -0700)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/Qos.c

index d4c9a09cb3c605dceb8c901b1dfeac652a689d1e..b3ac614cd35f4284d01038a530fc3d17a9adbe06 100644 (file)
@@ -609,51 +609,47 @@ USHORT ClassifyPacket(struct bcm_mini_adapter *Adapter, struct sk_buff *skb)
        EThCSGetPktInfo(Adapter, pvEThPayload, &stEthCsPktInfo);
 
        switch (stEthCsPktInfo.eNwpktEthFrameType) {
-               case eEth802LLCFrame:
-                       BCM_DEBUG_PRINT(Adapter,
-                                       DBG_TYPE_TX,
-                                       IPV4_DBG,
-                                       DBG_LVL_ALL,
-                                       "ClassifyPacket : 802LLCFrame\n");
-                       pIpHeader = pvEThPayload +
-                               sizeof(struct bcm_eth_llc_frame);
-                       break;
-               case eEth802LLCSNAPFrame:
-                       BCM_DEBUG_PRINT(Adapter,
-                                       DBG_TYPE_TX,
-                                       IPV4_DBG,
-                                       DBG_LVL_ALL,
-                                       "ClassifyPacket : 802LLC SNAP Frame\n");
-                       pIpHeader = pvEThPayload +
-                               sizeof(struct bcm_eth_llc_snap_frame);
-                       break;
-               case eEth802QVLANFrame:
-                       BCM_DEBUG_PRINT(Adapter,
-                                       DBG_TYPE_TX,
-                                       IPV4_DBG,
-                                       DBG_LVL_ALL,
-                                       "ClassifyPacket : 802.1Q VLANFrame\n");
-                       pIpHeader = pvEThPayload +
-                               sizeof(struct bcm_eth_q_frame);
-                       break;
-               case eEthOtherFrame:
-                       BCM_DEBUG_PRINT(Adapter,
-                                       DBG_TYPE_TX,
-                                       IPV4_DBG,
-                                       DBG_LVL_ALL,
-                                       "ClassifyPacket : ETH Other Frame\n");
-                       pIpHeader = pvEThPayload +
-                               sizeof(struct bcm_ethernet2_frame);
-                       break;
-               default:
-                       BCM_DEBUG_PRINT(Adapter,
-                                       DBG_TYPE_TX,
-                                       IPV4_DBG,
-                                       DBG_LVL_ALL,
-                                       "ClassifyPacket : Unrecognized ETH Frame\n");
-                       pIpHeader = pvEThPayload +
-                               sizeof(struct bcm_ethernet2_frame);
-                       break;
+       case eEth802LLCFrame:
+               BCM_DEBUG_PRINT(Adapter,
+                               DBG_TYPE_TX,
+                               IPV4_DBG,
+                               DBG_LVL_ALL,
+                               "ClassifyPacket : 802LLCFrame\n");
+               pIpHeader = pvEThPayload + sizeof(struct bcm_eth_llc_frame);
+               break;
+       case eEth802LLCSNAPFrame:
+               BCM_DEBUG_PRINT(Adapter,
+                               DBG_TYPE_TX,
+                               IPV4_DBG,
+                               DBG_LVL_ALL,
+                               "ClassifyPacket : 802LLC SNAP Frame\n");
+               pIpHeader = pvEThPayload +
+                       sizeof(struct bcm_eth_llc_snap_frame);
+               break;
+       case eEth802QVLANFrame:
+               BCM_DEBUG_PRINT(Adapter,
+                               DBG_TYPE_TX,
+                               IPV4_DBG,
+                               DBG_LVL_ALL,
+                               "ClassifyPacket : 802.1Q VLANFrame\n");
+               pIpHeader = pvEThPayload + sizeof(struct bcm_eth_q_frame);
+               break;
+       case eEthOtherFrame:
+               BCM_DEBUG_PRINT(Adapter,
+                               DBG_TYPE_TX,
+                               IPV4_DBG,
+                               DBG_LVL_ALL,
+                               "ClassifyPacket : ETH Other Frame\n");
+               pIpHeader = pvEThPayload + sizeof(struct bcm_ethernet2_frame);
+               break;
+       default:
+               BCM_DEBUG_PRINT(Adapter,
+                               DBG_TYPE_TX,
+                               IPV4_DBG,
+                               DBG_LVL_ALL,
+                               "ClassifyPacket : Unrecognized ETH Frame\n");
+               pIpHeader = pvEThPayload + sizeof(struct bcm_ethernet2_frame);
+               break;
        }
 
        if (stEthCsPktInfo.eNwpktIPFrameType == eIPv4Packet) {