staging: rtl8192e: Remove u16 cast for u16 return value
authorSolomon Tan <wjsota@gmail.com>
Sat, 23 Apr 2022 13:01:50 +0000 (21:01 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Apr 2022 09:35:19 +0000 (11:35 +0200)
commita7d1a806718083c8997fcc0320f03376709a4000
tree44f7fa430922f05d147bc299f3c8db8be6e9e869
parentc9c5f7e02b28a0148285d3595a3eb5da9d168094
staging: rtl8192e: Remove u16 cast for u16 return value

Remove explicit u16 cast of the function Mk16 return value.
The variable hi does not need to be casted explicitly to u16 as it will
already be casted implicitly.

Signed-off-by: Solomon Tan <wjsota@gmail.com>
Link: https://lore.kernel.org/r/20220423130150.161903-8-wjsota@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_crypt_tkip.c