mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 00:52:01 +00:00
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:
parent
f838cabdb2
commit
d97aabcd0e
@ -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;
|
||||
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user