[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1280588752-9340-24-git-send-email-khc@pm.waw.pl>
Date: Sat, 31 Jul 2010 17:05:47 +0200
From: Krzysztof Halasa <khc@...waw.pl>
To: David Miller <davem@...emloft.net>
Cc: <netdev@...r.kernel.org>
Subject: [PATCH 24/29] LMC: Remove unused variables.
From: Krzysztof Hałasa <khc@...waw.pl>
Signed-off-by: Krzysztof Hałasa <khc@...waw.pl>
---
drivers/net/wan/lmc/var.h | 15 +--------------
1 files changed, 1 insertions(+), 14 deletions(-)
diff --git a/drivers/net/wan/lmc/var.h b/drivers/net/wan/lmc/var.h
index 93c21fe..206f77a 100644
--- a/drivers/net/wan/lmc/var.h
+++ b/drivers/net/wan/lmc/var.h
@@ -272,15 +272,9 @@ struct card {
struct lmc_extra_statistics extra_stats;
struct net_device *netdev;
- int hang, rxdesc, bad_packet, some_counter;
- u32 txgo;
struct lmc_regfile_t csrs;
- volatile u32 txtick;
- volatile u32 rxtick;
- u32 flags;
u32 intrmask; /* our copy of csr_intr */
u32 cmdmode; /* our copy of csr_cmdmode */
- u32 busmode; /* our copy of csr_busmode */
u32 gpio_io; /* state of in/out settings */
u32 gpio; /* state of outputs */
struct sk_buff *txq[LMC_TXDESCS];
@@ -289,12 +283,10 @@ struct card {
volatile struct tulip_desc_t txring[LMC_TXDESCS];
unsigned int next_rx, next_tx;
volatile unsigned int taint_tx, taint_rx;
- int tx_start, txfull;
- int txbusy;
+ int txfull;
u16 miireg16;
int ok;
int last_link_status;
- u32 last_frameerr;
struct media *media;
struct timer_list timer;
struct control ictl;
@@ -304,18 +296,13 @@ struct card {
int tx_TimeoutDisplay;
unsigned int last_taint_tx;
int lasttx_packets;
- u32 tx_clockState;
u32 crcSize;
LMC_XINFO xinfo;
- char yel, blue, red; /* for T1 and DS3 */
char timing; /* for HSSI and SSI */
int got_irq;
char last_led_err[4];
- u32 last_int;
- u32 num_int;
-
spinlock_t lock;
u8 failed_ring; /* Failure cases */
--
1.7.1.1
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists