OSDN Git Service

staging:rtl8192u: Clean cmpk_counttxstatistic() comments - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Tue, 31 Jul 2018 20:59:52 +0000 (21:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Aug 2018 07:46:00 +0000 (09:46 +0200)
The only useful piece of information in the header comment of this
static function was the name of the function and parameters. That
is not useful information, given that they are in the C Source of
the function declaration, a few lines below the comment. The block
comment has been removed.

This is a coding style change, there should be no impact on runtime
code execution.

Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r819xU_cmdpkt.c

index d2293a3..900f786 100644 (file)
@@ -60,24 +60,6 @@ rt_status SendTxCommandPacket(struct net_device *dev, void *pData, u32 DataLen)
        return RT_STATUS_SUCCESS;
 }
 
-/*-----------------------------------------------------------------------------
- * Function:    cmpk_counttxstatistic()
- *
- * Overview:
- *
- * Input:       PADAPTER       pAdapter
- *              STRUCT CMD_PKT_TX_FEEDBACK     *psTx_FB
- *
- * Output:      NONE
- *
- * Return:      NONE
- *
- * Revised History:
- *  When               Who     Remark
- *  05/12/2008         amy     Create Version 0 porting from windows code.
- *
- *---------------------------------------------------------------------------
- */
 static void cmpk_count_txstatistic(struct net_device *dev, struct cmd_pkt_tx_feedback *pstx_fb)
 {
        struct r8192_priv *priv = ieee80211_priv(dev);