Commit 86128a0d authored by Andrew Plummer's avatar Andrew Plummer Committed by Greg Kroah-Hartman

Staging: bcm: LeakyBucket: format kernel-docs

Remove insignificant spaces before tabs in comments.
Signed-off-by: default avatarAndrew Plummer <plummer574@gmail.com>
Reviewed-by: default avatarMatthias Beyer <mail@beyermatthias.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7f90417b
...@@ -4,17 +4,13 @@ ...@@ -4,17 +4,13 @@
***********************************************************************/ ***********************************************************************/
#include "headers.h" #include "headers.h"
/********************************************************************* /**
* Function - UpdateTokenCount() * UpdateTokenCount() - Calculates the token count for each channel
* * and updates the same in Adapter structure
* Description - This function calculates the token count for each * @Adapter: Pointer to the Adapter structure.
* channel and updates the same in Adapter strucuture. *
* * Return: None
* Parameters - Adapter: Pointer to the Adapter structure. */
*
* Returns - None
**********************************************************************/
static VOID UpdateTokenCount(register struct bcm_mini_adapter *Adapter) static VOID UpdateTokenCount(register struct bcm_mini_adapter *Adapter)
{ {
ULONG liCurrentTime; ULONG liCurrentTime;
...@@ -59,20 +55,16 @@ static VOID UpdateTokenCount(register struct bcm_mini_adapter *Adapter) ...@@ -59,20 +55,16 @@ static VOID UpdateTokenCount(register struct bcm_mini_adapter *Adapter)
} }
/********************************************************************* /**
* Function - IsPacketAllowedForFlow() * IsPacketAllowedForFlow() - This function checks whether the given
* * packet from the specified queue can be allowed for transmission by
* Description - This function checks whether the given packet from the * checking the token count.
* specified queue can be allowed for transmission by * @Adapter: Pointer to the Adpater structure.
* checking the token count. * @iQIndex: The queue Identifier.
* * @ulPacketLength: Number of bytes to be transmitted.
* Parameters - Adapter : Pointer to the Adpater structure. *
* - iQIndex : The queue Identifier. * Returns: The number of bytes allowed for transmission.
* - ulPacketLength: Number of bytes to be transmitted. */
*
* Returns - The number of bytes allowed for transmission.
*
***********************************************************************/
static ULONG GetSFTokenCount(struct bcm_mini_adapter *Adapter, struct bcm_packet_info *psSF) static ULONG GetSFTokenCount(struct bcm_mini_adapter *Adapter, struct bcm_packet_info *psSF)
{ {
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, TOKEN_COUNTS, DBG_LVL_ALL, BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, TOKEN_COUNTS, DBG_LVL_ALL,
...@@ -256,18 +248,14 @@ static void send_control_packet(struct bcm_mini_adapter *ad, ...@@ -256,18 +248,14 @@ static void send_control_packet(struct bcm_mini_adapter *ad,
} }
} }
/************************************************************************ /**
* Function - CheckAndSendPacketFromIndex() * CheckAndSendPacketFromIndex() - This function dequeues the
* * data/control packet from the specified queue for transmission.
* Description - This function dequeues the data/control packet from the * @Adapter: Pointer to the driver control structure.
* specified queue for transmission. * @iQIndex: The queue Identifier.
* *
* Parameters - Adapter : Pointer to the driver control structure. * Returns: None.
* - iQIndex : The queue Identifier. */
*
* Returns - None.
*
****************************************************************************/
static VOID CheckAndSendPacketFromIndex(struct bcm_mini_adapter *Adapter, static VOID CheckAndSendPacketFromIndex(struct bcm_mini_adapter *Adapter,
struct bcm_packet_info *psSF) struct bcm_packet_info *psSF)
{ {
...@@ -284,16 +272,13 @@ static VOID CheckAndSendPacketFromIndex(struct bcm_mini_adapter *Adapter, ...@@ -284,16 +272,13 @@ static VOID CheckAndSendPacketFromIndex(struct bcm_mini_adapter *Adapter,
} }
/******************************************************************* /**
* Function - transmit_packets() * transmit_packets() - This function transmits the packets from
* * different queues, if free descriptors are available on target.
* Description - This function transmits the packets from different * @Adapter: Pointer to the Adapter structure.
* queues, if free descriptors are available on target. *
* * Returns: None.
* Parameters - Adapter: Pointer to the Adapter structure. */
*
* Returns - None.
********************************************************************/
VOID transmit_packets(struct bcm_mini_adapter *Adapter) VOID transmit_packets(struct bcm_mini_adapter *Adapter)
{ {
UINT uiPrevTotalCount = 0; UINT uiPrevTotalCount = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment