提交 34cad16c 编写于 作者: M Matthias Beyer 提交者: Greg Kroah-Hartman

Staging: bcm: Qos.c: Line length / Whitespace cleanup in flush_all_queues()

Signed-off-by: NMatthias Beyer <mail@beyermatthias.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 0f174341
...@@ -533,7 +533,11 @@ VOID flush_all_queues(struct bcm_mini_adapter *Adapter) ...@@ -533,7 +533,11 @@ VOID flush_all_queues(struct bcm_mini_adapter *Adapter)
struct sk_buff *PacketToDrop = NULL; struct sk_buff *PacketToDrop = NULL;
struct bcm_packet_info *curr_packet_info; struct bcm_packet_info *curr_packet_info;
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, DUMP_INFO, DBG_LVL_ALL, "=====>"); BCM_DEBUG_PRINT(Adapter,
DBG_TYPE_OTHERS,
DUMP_INFO,
DBG_LVL_ALL,
"=====>");
/* down(&Adapter->data_packet_queue_lock); */ /* down(&Adapter->data_packet_queue_lock); */
for (iQIndex = LowPriority; iQIndex < HiPriority; iQIndex++) { for (iQIndex = LowPriority; iQIndex < HiPriority; iQIndex++) {
...@@ -563,7 +567,11 @@ VOID flush_all_queues(struct bcm_mini_adapter *Adapter) ...@@ -563,7 +567,11 @@ VOID flush_all_queues(struct bcm_mini_adapter *Adapter)
curr_packet_info->uiDroppedCountBytes += uiTotalPacketLength; curr_packet_info->uiDroppedCountBytes += uiTotalPacketLength;
curr_packet_info->uiDroppedCountPackets++; curr_packet_info->uiDroppedCountPackets++;
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, DUMP_INFO, DBG_LVL_ALL, "Dropped Bytes:%x Dropped Packets:%x", BCM_DEBUG_PRINT(Adapter,
DBG_TYPE_OTHERS,
DUMP_INFO,
DBG_LVL_ALL,
"Dropped Bytes:%x Dropped Packets:%x",
curr_packet_info->uiDroppedCountBytes, curr_packet_info->uiDroppedCountBytes,
curr_packet_info->uiDroppedCountPackets); curr_packet_info->uiDroppedCountPackets);
atomic_dec(&Adapter->TotalPacketCount); atomic_dec(&Adapter->TotalPacketCount);
...@@ -571,7 +579,11 @@ VOID flush_all_queues(struct bcm_mini_adapter *Adapter) ...@@ -571,7 +579,11 @@ VOID flush_all_queues(struct bcm_mini_adapter *Adapter)
spin_unlock_bh(&curr_packet_info->SFQueueLock); spin_unlock_bh(&curr_packet_info->SFQueueLock);
} }
/* up(&Adapter->data_packet_queue_lock); */ /* up(&Adapter->data_packet_queue_lock); */
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, DUMP_INFO, DBG_LVL_ALL, "<====="); BCM_DEBUG_PRINT(Adapter,
DBG_TYPE_OTHERS,
DUMP_INFO,
DBG_LVL_ALL,
"<=====");
} }
USHORT ClassifyPacket(struct bcm_mini_adapter *Adapter, struct sk_buff *skb) USHORT ClassifyPacket(struct bcm_mini_adapter *Adapter, struct sk_buff *skb)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册