staging: r8188eu: clean up comment for phy_calculate_bit_shift()
authorMichael Straube <straube.linux@gmail.com>
Sat, 6 Aug 2022 06:09:29 +0000 (08:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Aug 2022 13:16:16 +0000 (15:16 +0200)
Clean up the comment for function phy_calculate_bit_shift().

Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220806060929.11022-4-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_phycfg.c

index e9e24efabd76fb6fe23b01da2476d076b1618502..a435ec65d4b12956f1abe767f8e6840c1ac53d8c 100644 (file)
 /*  1. BB register R/W API */
 /*  */
 
-/**
-* Function:    phy_CalculateBitShift
-*
-* OverView:    Get shifted position of the BitMask
-*
-* Input:
-*                      u32             BitMask,
-*
-* Output:      none
-* Return:              u32             Return the shift bit bit position of the mask
-*/
+/* Get shifted position of the bit mask */
 static u32 phy_calculate_bit_shift(u32 bitmask)
 {
        u32 i = ffs(bitmask);