Commit d97aabcd authored by Alan Cox's avatar Alan Cox Committed by Greg Kroah-Hartman

Staging: et131x: kill TxMacTest field

It's really a local in the interrupt handler
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent f838cabd
...@@ -213,9 +213,6 @@ struct et131x_adapter { ...@@ -213,9 +213,6 @@ struct et131x_adapter {
u32 MCAddressCount; u32 MCAddressCount;
u8 MCList[NIC_MAX_MCAST_LIST][ETH_ALEN]; u8 MCList[NIC_MAX_MCAST_LIST][ETH_ALEN];
/* MAC test */
u32 TxMacTest;
/* Pointer to the device's PCI register space */ /* Pointer to the device's PCI register space */
ADDRESS_MAP_t __iomem *regs; ADDRESS_MAP_t __iomem *regs;
......
...@@ -337,10 +337,9 @@ void et131x_isr_handler(struct work_struct *work) ...@@ -337,10 +337,9 @@ void et131x_isr_handler(struct work_struct *work)
*/ */
/* TRAP();*/ /* TRAP();*/
etdev->TxMacTest = readl(&iomem->txmac.tx_test);
dev_warn(&etdev->pdev->dev, dev_warn(&etdev->pdev->dev,
"RxDMA_ERR interrupt, error %x\n", "RxDMA_ERR interrupt, error %x\n",
etdev->TxMacTest); readl(&iomem->txmac.tx_test));
} }
/* Handle the Wake on LAN Event */ /* Handle the Wake on LAN Event */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment