summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinemon Tama <osjin83@gmail.com>2026-04-10 10:42:12 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-04-27 05:01:55 -0600
commit44ccc09fd2ae01ff452fd32f639d2d34ce5505e1 (patch)
tree5d235909c205484435ef5f2bf5163fd10f6437ad
parent7deae505ec9270b902a739bb06c621f8be47bb19 (diff)
downloadlinux-44ccc09fd2ae01ff452fd32f639d2d34ce5505e1.tar.gz
linux-44ccc09fd2ae01ff452fd32f639d2d34ce5505e1.zip
staging: rtl8723bs: remove space after type cast
Remove the unnecessary space between a type cast and the variable as reported by checkpatch.pl. This improves code consistency and conforms to the Linux kernel coding style. Signed-off-by: Jinemon Tama <osjin83@gmail.com> Reviewed-by: Luka Gejak <luka.gejak@linux.dev> Link: https://patch.msgid.link/20260410014214.10684-3-osjin83@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c b/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c
index b3dfc2320b68..51e9f06b2c63 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c
@@ -531,7 +531,7 @@ u8 PHY_GetTxPowerIndex(
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
s8 txPower = 0, powerDiffByRate = 0, limit = 0;
- txPower = (s8) PHY_GetTxPowerIndexBase(padapter, RFPath, Rate, BandWidth, Channel);
+ txPower = (s8)PHY_GetTxPowerIndexBase(padapter, RFPath, Rate, BandWidth, Channel);
powerDiffByRate = PHY_GetTxPowerByRate(padapter, RF_PATH_A, Rate);
limit = phy_get_tx_pwr_lmt(
@@ -551,7 +551,7 @@ u8 PHY_GetTxPowerIndex(
if (txPower > MAX_POWER_INDEX)
txPower = MAX_POWER_INDEX;
- return (u8) txPower;
+ return (u8)txPower;
}
void PHY_SetTxPowerLevel8723B(struct adapter *Adapter, u8 Channel)