aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/efx.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2008-05-16 16:14:27 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-05-22 05:59:24 -0400
commit91ad757c2fc35ec79dd2c909dc6dc721b9c257f3 (patch)
tree4b1cdc458017fc494b5739088945c99a1f07f6c6 /drivers/net/sfc/efx.c
parent4cc58bdebfcb7561de401999705a5cde16674842 (diff)
sfc: Removed casts to void
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/sfc/efx.c')
-rw-r--r--drivers/net/sfc/efx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c
index 418f2e53a95b..48aae4702bad 100644
--- a/drivers/net/sfc/efx.c
+++ b/drivers/net/sfc/efx.c
@@ -265,7 +265,7 @@ void efx_process_channel_now(struct efx_channel *channel)
265 napi_disable(&channel->napi_str); 265 napi_disable(&channel->napi_str);
266 266
267 /* Poll the channel */ 267 /* Poll the channel */
268 (void) efx_process_channel(channel, efx->type->evq_size); 268 efx_process_channel(channel, efx->type->evq_size);
269 269
270 /* Ack the eventq. This may cause an interrupt to be generated 270 /* Ack the eventq. This may cause an interrupt to be generated
271 * when they are reenabled */ 271 * when they are reenabled */
@@ -1688,7 +1688,7 @@ static int efx_reset(struct efx_nic *efx)
1688 if (method == RESET_TYPE_DISABLE) { 1688 if (method == RESET_TYPE_DISABLE) {
1689 /* Reinitialise the device anyway so the driver unload sequence 1689 /* Reinitialise the device anyway so the driver unload sequence
1690 * can talk to the external SRAM */ 1690 * can talk to the external SRAM */
1691 (void) falcon_init_nic(efx); 1691 falcon_init_nic(efx);
1692 rc = -EIO; 1692 rc = -EIO;
1693 goto fail4; 1693 goto fail4;
1694 } 1694 }