staging: rtl8192u: Fix syntax errors in comments
authorXiang wangx <wangxiang@cdjrlc.com>
Fri, 3 Jun 2022 13:07:02 +0000 (21:07 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Jun 2022 06:02:57 +0000 (08:02 +0200)
Delete the redundant word 'tx'.

Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
Link: https://lore.kernel.org/r/20220603130702.6926-1-wangxiang@cdjrlc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_dm.c

index 725bf5ca9e34da0d4823546f60c5b1f29b1e9fdf..916618ddc4b7166397244630e10423f524db4fd6 100644 (file)
@@ -3002,7 +3002,7 @@ static void dm_check_txrateandretrycount(struct net_device *dev)
        /* for initial tx rate */
        /*priv->stats.last_packet_rate = read_nic_byte(dev, INITIAL_TX_RATE_REG);*/
        read_nic_byte(dev, INITIAL_TX_RATE_REG, &ieee->softmac_stats.last_packet_rate);
-       /* for tx tx retry count */
+       /* for tx retry count */
        /*priv->stats.txretrycount = read_nic_dword(dev, TX_RETRY_COUNT_REG);*/
        read_nic_dword(dev, TX_RETRY_COUNT_REG, &ieee->softmac_stats.txretrycount);
 }