aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/et131x/et1310_pm.c
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2009-08-27 10:58:49 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:02:26 -0700
commitbf1aa8e1befc9eadd6911773494e59f563d01ebe (patch)
treef501997541052411285b4cac89ae5ce7c0afdf5d /drivers/staging/et131x/et1310_pm.c
parent649050894d75f374bf263d2c6046f9743e4276fb (diff)
Staging et131x: kill refcount
The RefCount field is accessed only by a macro and the only use of it in the tree is to read it, so it can go Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/et131x/et1310_pm.c')
-rw-r--r--drivers/staging/et131x/et1310_pm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/et131x/et1310_pm.c b/drivers/staging/et131x/et1310_pm.c
index a50741168f6..848d6b0a1ec 100644
--- a/drivers/staging/et131x/et1310_pm.c
+++ b/drivers/staging/et131x/et1310_pm.c
@@ -139,8 +139,6 @@ void EnablePhyComa(struct et131x_adapter *etdev)
spin_unlock_irqrestore(&etdev->SendHWLock, flags);
/* Wait for outstanding Receive packets */
- while ((MP_GET_RCV_REF(etdev) != 0) && (LoopCounter-- > 0))
- mdelay(2);
/* Gate off JAGCore 3 clock domains */
GlobalPmCSR.bits.pm_sysclk_gate = 0;