From patchwork Sat Jul 31 15:05:47 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Krzysztof Halasa X-Patchwork-Id: 60426 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 20E321007D2 for ; Sun, 1 Aug 2010 01:07:31 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756707Ab0GaPHL (ORCPT ); Sat, 31 Jul 2010 11:07:11 -0400 Received: from khc.piap.pl ([195.187.100.11]:59352 "EHLO khc.piap.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756559Ab0GaPGX (ORCPT ); Sat, 31 Jul 2010 11:06:23 -0400 Received: from intrepid.localdomain (intrepid.localdomain [10.0.0.2]) by khc.piap.pl (Postfix) with ESMTP id A671F8A52; Sat, 31 Jul 2010 17:05:54 +0200 (CEST) From: Krzysztof Halasa To: David Miller Cc: Subject: [PATCH 24/29] LMC: Remove unused variables. Date: Sat, 31 Jul 2010 17:05:47 +0200 Message-Id: <1280588752-9340-24-git-send-email-khc@pm.waw.pl> X-Mailer: git-send-email 1.7.1.1 In-Reply-To: References: MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Krzysztof Hałasa Signed-off-by: Krzysztof Hałasa --- 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 */