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>
This commit is contained in:
Alan Cox 2009-11-18 14:07:15 +00:00 committed by Greg Kroah-Hartman
parent f838cabdb2
commit d97aabcd0e
2 changed files with 1 additions and 5 deletions

View file

@ -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;

View file

@ -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 */