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

Solomon Tan posted 7 patches 4 years ago
[PATCH 0/7] staging: rtl8192e: Remove unnecessary u8 and u16 casts
Posted by Solomon Tan 4 years ago
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