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)
commitd9ad8050839a496e74412fb44f27ee96538a1bed
treeb0137f5a7ae4e039398cb2ef48be8970501c3584
parent46176f28c0dcfee420f7807585de015e28754527
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