diff options
author | Alan Cox <alan@linux.intel.com> | 2009-08-27 05:58:49 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 15:02:26 -0400 |
commit | bf1aa8e1befc9eadd6911773494e59f563d01ebe (patch) | |
tree | f501997541052411285b4cac89ae5ce7c0afdf5d /drivers/staging/et131x/et1310_pm.c | |
parent | 649050894d75f374bf263d2c6046f9743e4276fb (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.c | 2 |
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) | |||
139 | spin_unlock_irqrestore(&etdev->SendHWLock, flags); | 139 | spin_unlock_irqrestore(&etdev->SendHWLock, flags); |
140 | 140 | ||
141 | /* Wait for outstanding Receive packets */ | 141 | /* Wait for outstanding Receive packets */ |
142 | while ((MP_GET_RCV_REF(etdev) != 0) && (LoopCounter-- > 0)) | ||
143 | mdelay(2); | ||
144 | 142 | ||
145 | /* Gate off JAGCore 3 clock domains */ | 143 | /* Gate off JAGCore 3 clock domains */ |
146 | GlobalPmCSR.bits.pm_sysclk_gate = 0; | 144 | GlobalPmCSR.bits.pm_sysclk_gate = 0; |