staging: rtl8192e: Remove unused variable framesyncC34
framesyncC34 is written and then never evaluated. Remove resulting dead code. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/e641717f1b89dd9bba99a0f14fc2c24996cb6bd7.1674071236.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f48cc55bf3
commit
1032f497c5
|
@ -580,7 +580,6 @@ void rtl92e_get_tx_power(struct net_device *dev)
|
|||
priv->def_initial_gain[3] = rtl92e_readb(dev, rOFDM0_XDAGCCore1);
|
||||
|
||||
priv->framesync = rtl92e_readb(dev, rOFDM0_RxDetector3);
|
||||
priv->framesyncC34 = rtl92e_readl(dev, rOFDM0_RxDetector2);
|
||||
}
|
||||
|
||||
void rtl92e_set_tx_power(struct net_device *dev, u8 channel)
|
||||
|
|
|
@ -513,7 +513,6 @@ struct r8192_priv {
|
|||
u32 continue_diff_count;
|
||||
bool bswitch_fsync;
|
||||
u8 framesync;
|
||||
u32 framesyncC34;
|
||||
u8 frame_sync_monitor;
|
||||
|
||||
u32 reset_count;
|
||||
|
|
Loading…
Reference in New Issue