Skip to content

Commit

Permalink
staging: winbond/mto.c: remove unused variables
Browse files Browse the repository at this point in the history
They are unused since commit a22517f:

    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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Jonathan Neuschäfer authored and Greg Kroah-Hartman committed Apr 5, 2011
1 parent 7441729 commit 1fec95c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions drivers/staging/winbond/mto.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
}

0 comments on commit 1fec95c

Please sign in to comment.