Skip to content

staging: rtl8192e: Remove unnecessary u8 and u16 casts

Solomon Tan linux-staging lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7staging: rtl8192e: Remove unnecessary u8 assignment castdrivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c +1 more+36 -380 replies
2/7staging: rtl8192e: Remove unnecessary u8 argument castdrivers/staging/rtl8192e/rtl8192e/r8192E_dev.c drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c +1 more+7 -90 replies
3/7staging: rtl8192e: Remove unnecessary u8 cast in comparisondrivers/staging/rtl8192e/rtl8192e/r8192E_dev.c drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c+2 -20 replies
4/7staging: rtl8192e: Remove unnecessary u16 assignment castdrivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.c drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c+3 -40 replies
5/7staging: rtl8192e: Remove unnecessary u16 argument castdrivers/staging/rtl8192e/rtl8192e/r8192E_phy.c+1 -10 replies
6/7staging: rtl8192e: Remove u16 cast for u32 parameterdrivers/staging/rtl8192e/rtl8192e/r8192E_dev.c+1 -10 replies
7/7staging: rtl8192e: Remove u16 cast for u16 return valuedrivers/staging/rtl8192e/rtllib_crypt_tkip.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] staging: rtl8192e: Remove unnecessary u8 and u16 casts

Hi,

This series of patches removes unnecessary explicit u8 and u16 type casts. They are broken down into 7 patches as follows:

Patch 1 removes u8 casts in assignment statements of u8 variables. Patch 2 removes u8 casts in u8 arguments to function calls. Patch 3 removes u8 casts in comparison expressions.
Patch 4 removes u16 casts in assignment statements.
Patch 5 removes the u16 cast in the u16 argument to a function call. Patch 6 removes the u16 cast because the function parameter is u32. Patch 7 removes the u16 cast from a function return statement.

Justification is found in the respective changelogs.

Cheers,
Solomon