Messages in this thread | | | From | Solomon Tan <> | Subject | [PATCH 0/7] staging: rtl8192e: Remove unnecessary u8 and u16 casts | Date | Sat, 23 Apr 2022 21:01:43 +0800 |
| |
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
| |