]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8192e: Remove unnecessary u8 argument cast
authorSolomon Tan <wjsota@gmail.com>
Sat, 23 Apr 2022 13:01:45 +0000 (21:01 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Apr 2022 09:35:18 +0000 (11:35 +0200)
commite5b6416c0f7e6a923ac9ec20b311d67dd36e0c6b
tree69ea9a44773c135dcfd38350f811a9e6db9163de
parent5d4627f37d6cd229a7fc1457b642ec13dc49dbf0
staging: rtl8192e: Remove unnecessary u8 argument cast

Remove the unnecessary explicit u8 casts for u8 arguments in function
calls. These functions have declared their parameters to be of type u8,
so the arguments given to those parameters will be automatically coerced
to u8. Therefore, an explicit cast is unnecessary.

Signed-off-by: Solomon Tan <wjsota@gmail.com>
Link: https://lore.kernel.org/r/20220423130150.161903-3-wjsota@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c