* [PATCH] staging: winbond/mto.c: remove unused variables
@ 2011-03-21 13:24 Jonathan Neuschäfer
2011-03-21 16:26 ` Pekka Enberg
0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Neuschäfer @ 2011-03-21 13:24 UTC (permalink / raw)
To: Greg Kroah-Hartman, Pavel Machek
Cc: Pekka Enberg, devel, linux-kernel, Jonathan Neuschäfer
They are unused since commit a22517fec0b13b5813932a3583a2b11a2ee17f5d:
Staging: w35und: remove dead code from mto.c
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
drivers/staging/winbond/mto.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/drivers/staging/winbond/mto.c b/drivers/staging/winbond/mto.c
index c03e501..5250217 100644
--- a/drivers/staging/winbond/mto.c
+++ b/drivers/staging/winbond/mto.c
@@ -40,14 +40,9 @@ static u8 MTO_Data_Rate_Tbl[MTO_MAX_DATA_RATE_LEVELS] = {
2, 4, 11, 22, 12, 18, 24, 36, 48, 72, 96, 108
};
-static int TotalTxPkt;
-static int TotalTxPktRetry;
/* this record the retry rate at different data rate */
static int retryrate_rec[MTO_MAX_DATA_RATE_LEVELS];
-static int PeriodTotalTxPkt;
-static int PeriodTotalTxPktRetry;
-
static u8 boSparseTxTraffic;
void MTO_Init(struct wbsoft_priv *adapter);
@@ -174,9 +169,4 @@ void MTO_SetTxCount(struct wbsoft_priv *adapter, u8 tx_rate, u8 index)
MTO_HAL()->dto_tx_retry_count += index;
MTO_HAL()->dto_tx_frag_count += (index + 1);
}
- TotalTxPkt++;
- TotalTxPktRetry += (index + 1);
-
- PeriodTotalTxPkt++;
- PeriodTotalTxPktRetry += (index + 1);
}
--
1.7.4.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] staging: winbond/mto.c: remove unused variables
2011-03-21 13:24 [PATCH] staging: winbond/mto.c: remove unused variables Jonathan Neuschäfer
@ 2011-03-21 16:26 ` Pekka Enberg
0 siblings, 0 replies; 2+ messages in thread
From: Pekka Enberg @ 2011-03-21 16:26 UTC (permalink / raw)
To: Jonathan Neuschäfer
Cc: Greg Kroah-Hartman, Pavel Machek, devel, linux-kernel
On Mon, Mar 21, 2011 at 3:24 PM, Jonathan Neuschäfer
<j.neuschaefer@gmx.net> wrote:
> They are unused since commit a22517fec0b13b5813932a3583a2b11a2ee17f5d:
>
> Staging: w35und: remove dead code from mto.c
>
> Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Acked-by: Pekka Enberg <penberg@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-21 16:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-21 13:24 [PATCH] staging: winbond/mto.c: remove unused variables Jonathan Neuschäfer
2011-03-21 16:26 ` Pekka Enberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®