]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8b6d87d0c4f4bf542f3012d385f8b496922881f1
tree44f7fa430922f05d147bc299f3c8db8be6e9e869
parent7d9d44935b2327e832ff72ed903cd3ca65368249
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