mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 22:57:21 -04:00
staging: rtl8192e: Remove unused variable bShift
Remove unused variable bShift as it is set and never evaluated. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/ff505fd05683a59b02ac2e3da115718d8a22735b.1708461563.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e5a28bacc5
commit
1f49469c39
@@ -1649,7 +1649,6 @@ bool rtl92e_get_rx_stats(struct net_device *dev, struct rtllib_rx_stats *stats,
|
||||
stats->bHwError |= 1;
|
||||
|
||||
if (stats->bHwError) {
|
||||
stats->bShift = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1672,9 +1671,6 @@ bool rtl92e_get_rx_stats(struct net_device *dev, struct rtllib_rx_stats *stats,
|
||||
stats->TimeStampLow = pDrvInfo->TSFL;
|
||||
stats->TimeStampHigh = rtl92e_readl(dev, TSFR + 4);
|
||||
|
||||
if ((stats->RxBufShift + stats->RxDrvInfoSize) > 0)
|
||||
stats->bShift = 1;
|
||||
|
||||
stats->RxIs40MHzPacket = pDrvInfo->BW;
|
||||
|
||||
_rtl92e_translate_rx_signal_stats(dev, skb, stats, pdesc, pDrvInfo);
|
||||
|
||||
@@ -487,7 +487,6 @@ struct rtllib_rx_stats {
|
||||
u16 Decrypted:1;
|
||||
u32 TimeStampLow;
|
||||
u32 TimeStampHigh;
|
||||
bool bShift;
|
||||
bool bIsQosData;
|
||||
|
||||
u8 RxDrvInfoSize;
|
||||
|
||||
Reference in New Issue
Block a user