Skip to content

Commit

Permalink
Staging: et131x: kill TxMacTest field
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Dec 11, 2009
1 parent f838cab commit d97aabc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions drivers/staging/et131x/et131x_adapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
3 changes: 1 addition & 2 deletions drivers/staging/et131x/et131x_isr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit d97aabc

Please sign in to comment.