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:
Родитель
f838cabdb2
Коммит
d97aabcd0e
|
@ -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)
|
||||||
*/
|
*/
|
||||||
/* 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 */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче