diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c index e0c92818ed70..1306e55b6870 100644 --- a/drivers/staging/vt6655/card.c +++ b/drivers/staging/vt6655/card.c @@ -911,16 +911,13 @@ bool CARDbSoftwareReset(struct vnt_private *priv) */ u64 CARDqGetTSFOffset(unsigned char byRxRate, u64 qwTSF1, u64 qwTSF2) { - u64 qwTSFOffset = 0; unsigned short wRxBcnTSFOffst; wRxBcnTSFOffst = cwRXBCNTSFOff[byRxRate%MAX_RATE]; qwTSF2 += (u64)wRxBcnTSFOffst; - qwTSFOffset = qwTSF1 - qwTSF2; - - return qwTSFOffset; + return qwTSF1 - qwTSF2; } /*