staging: r8188eu: remove unnecessary casts
authorMartin Kaiser <martin@kaiser.cx>
Sat, 5 Mar 2022 14:41:16 +0000 (15:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Mar 2022 17:29:34 +0000 (18:29 +0100)
commit49571c57e21fbd0915bd50992c7dac3295f13d95
tree341af0b2ee5f5218532d03822aa95ce0b534ca27
parent05a0a115aa04d6402a69964b23a989314cc53204
staging: r8188eu: remove unnecessary casts

Remove unnecessary casts in update_recvframe_attrib_88e.

The final bitwise-and limits the results to u8 or u16, respectively.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220305144117.1380534-5-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_rxdesc.c