diff options
author | Alan Cox <alan@linux.intel.com> | 2009-08-19 13:21:56 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 15:02:26 -0400 |
commit | 20dedd3faa8785937df45e8518f3930be7110d96 (patch) | |
tree | 792e761e9cfb7606ca99734e9ab855509b6273b0 /drivers/staging/et131x/et1310_rx.c | |
parent | 37628606661a8a1d3abfa5bb898426a38fa62b73 (diff) |
Staging: et131x: power state
This is assigned once to ndis d0, and then never changes so it is a constant
and we can zap it
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_rx.c')
-rw-r--r-- | drivers/staging/et131x/et1310_rx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/et131x/et1310_rx.c b/drivers/staging/et131x/et1310_rx.c index 9dc08fb4bf2..b05b8c50d07 100644 --- a/drivers/staging/et131x/et1310_rx.c +++ b/drivers/staging/et131x/et1310_rx.c | |||
@@ -1235,13 +1235,11 @@ void et131x_handle_recv_interrupt(struct et131x_adapter *etdev) | |||
1235 | break; | 1235 | break; |
1236 | 1236 | ||
1237 | /* Do not receive any packets until a filter has been set. | 1237 | /* Do not receive any packets until a filter has been set. |
1238 | * Do not receive any packets until we are at D0. | ||
1239 | * Do not receive any packets until we have link. | 1238 | * Do not receive any packets until we have link. |
1240 | * If length is zero, return the RFD in order to advance the | 1239 | * If length is zero, return the RFD in order to advance the |
1241 | * Free buffer ring. | 1240 | * Free buffer ring. |
1242 | */ | 1241 | */ |
1243 | if ((!etdev->PacketFilter) || | 1242 | if ((!etdev->PacketFilter) || |
1244 | (etdev->PoMgmt.PowerState != NdisDeviceStateD0) || | ||
1245 | (!MP_LINK_DETECTED(etdev)) || | 1243 | (!MP_LINK_DETECTED(etdev)) || |
1246 | (pMpRfd->PacketSize == 0)) { | 1244 | (pMpRfd->PacketSize == 0)) { |
1247 | continue; | 1245 | continue; |