提交 d97aabcd 编写于 作者: A Alan Cox 提交者: Greg Kroah-Hartman

Staging: et131x: kill TxMacTest field

It's really a local in the interrupt handler
Signed-off-by: NAlan Cox <alan@linux.intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 f838cabd
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册