]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8192e: Remove unnecessary u8 cast in comparison
authorSolomon Tan <wjsota@gmail.com>
Sat, 23 Apr 2022 13:01:46 +0000 (21:01 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Apr 2022 09:35:18 +0000 (11:35 +0200)
commitbb9654dc8eb0ba61fabc21f893459894f0b2fe5a
treeb0137f5a7ae4e039398cb2ef48be8970501c3584
parent957376e569e143bf343bba9d4e0ed05028134ee6
staging: rtl8192e: Remove unnecessary u8 cast in comparison

Since the macro VERSION_8190_BD is defined to be 0x3, and the structure
members card_8192_version and IC_Cut are both u8, an explicit u8 cast is
unnecessary.

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