aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/et131x
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2009-11-18 14:07:15 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 12:23:20 -0800
commitd97aabcd0ea6dd3375747b1e02b9164c4064880d (patch)
tree5bbddb65f1d2562f59544a8839308f70e7d739ac /drivers/staging/et131x
parentf838cabdb27a7f3c28c186360865cf5118c469a6 (diff)
Staging: et131x: kill TxMacTest field
It's really a local in the interrupt handler Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/et131x')
-rw-r--r--drivers/staging/et131x/et131x_adapter.h3
-rw-r--r--drivers/staging/et131x/et131x_isr.c3
2 files changed, 1 insertions, 5 deletions
diff --git a/drivers/staging/et131x/et131x_adapter.h b/drivers/staging/et131x/et131x_adapter.h
index ed35f8afdd4..3f7f37a56b6 100644
--- a/drivers/staging/et131x/et131x_adapter.h
+++ b/drivers/staging/et131x/et131x_adapter.h
@@ -213,9 +213,6 @@ struct et131x_adapter {
u32 MCAddressCount;
u8 MCList[NIC_MAX_MCAST_LIST][ETH_ALEN];
- /* MAC test */
- u32 TxMacTest;
-
/* Pointer to the device's PCI register space */
ADDRESS_MAP_t __iomem *regs;
diff --git a/drivers/staging/et131x/et131x_isr.c b/drivers/staging/et131x/et131x_isr.c
index 486abe47dfc..3aeac7b9228 100644
--- a/drivers/staging/et131x/et131x_isr.c
+++ b/drivers/staging/et131x/et131x_isr.c
@@ -337,10 +337,9 @@ void et131x_isr_handler(struct work_struct *work)
*/
/* TRAP();*/
- etdev->TxMacTest = readl(&iomem->txmac.tx_test);
dev_warn(&etdev->pdev->dev,
"RxDMA_ERR interrupt, error %x\n",
- etdev->TxMacTest);
+ readl(&iomem->txmac.tx_test));
}
/* Handle the Wake on LAN Event */