Skip to content

Commit

Permalink
Staging: rtl8192e: Remove variable that is never written
Browse files Browse the repository at this point in the history
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Mike McCormack authored and Greg Kroah-Hartman committed Jan 31, 2011
1 parent 8205669 commit c282f2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion drivers/staging/rtl8192e/r8192E.h
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,6 @@ typedef struct Stats
unsigned long rxrdu;
unsigned long rxok;
unsigned long rxcmdpkt[4]; //08/05/08 amy rx cmd element txfeedback/bcn report/cfg set/query
unsigned long rxurberr; /* remove */
unsigned long received_rate_histogram[4][32]; //0: Total, 1:OK, 2:CRC, 3:ICV, 2007 07 03 cosa
unsigned long rxoverflow;
unsigned long rxint;
Expand Down
6 changes: 2 additions & 4 deletions drivers/staging/rtl8192e/r8192E_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -589,12 +589,10 @@ static int proc_get_stats_rx(char *page, char **start,
len += snprintf(page + len, count - len,
"RX packets: %lu\n"
"RX desc err: %lu\n"
"RX rx overflow error: %lu\n"
"RX invalid urb error: %lu\n",
"RX rx overflow error: %lu\n",
priv->stats.rxint,
priv->stats.rxrdu,
priv->stats.rxoverflow,
priv->stats.rxurberr);
priv->stats.rxoverflow);

*eof = 1;
return len;
Expand Down

0 comments on commit c282f2e

Please sign in to comment.