diff options
author | Alan Cox <alan@linux.intel.com> | 2009-08-27 11:00:06 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:02:27 -0700 |
commit | 94831463690c2a1bab2bcb9d6637e469b63d5536 (patch) | |
tree | d5f7dde01fd2d79e71862b9b7b047e1d00ddf89b /drivers/staging/et131x/et131x_initpci.c | |
parent | c2557177f16cc0b63115a1ea09c732e3ace14d5f (diff) |
Staging: et131x: attack the config stuff
Prune this back as most of it isn't relevant or used
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/et131x/et131x_initpci.c')
-rw-r--r-- | drivers/staging/et131x/et131x_initpci.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/et131x/et131x_initpci.c b/drivers/staging/et131x/et131x_initpci.c index 4d459419862..c489090178b 100644 --- a/drivers/staging/et131x/et131x_initpci.c +++ b/drivers/staging/et131x/et131x_initpci.c @@ -442,10 +442,9 @@ void et131x_error_timer_handler(unsigned long data) pm_csr.value = readl(&etdev->regs->global.pm_csr.value); - if (pm_csr.bits.pm_phy_sw_coma == 0) { - if (etdev->RegistryMACStat) - UpdateMacStatHostCounters(etdev); - } else + if (pm_csr.bits.pm_phy_sw_coma == 0) + UpdateMacStatHostCounters(etdev); + else DBG_VERBOSE(et131x_dbginfo, "No interrupts, in PHY coma, pm_csr = 0x%x\n", pm_csr.value); |