diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/s2io.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c index 5cd2291bc0bc..16868b7a5d0a 100644 --- a/drivers/net/s2io.c +++ b/drivers/net/s2io.c | |||
@@ -7220,7 +7220,6 @@ static int s2io_card_up(struct s2io_nic * sp) | |||
7220 | 7220 | ||
7221 | /* Initialise napi */ | 7221 | /* Initialise napi */ |
7222 | if (config->napi) { | 7222 | if (config->napi) { |
7223 | int i; | ||
7224 | if (config->intr_type == MSI_X) { | 7223 | if (config->intr_type == MSI_X) { |
7225 | for (i = 0; i < sp->config.rx_ring_num; i++) | 7224 | for (i = 0; i < sp->config.rx_ring_num; i++) |
7226 | napi_enable(&sp->mac_control.rings[i].napi); | 7225 | napi_enable(&sp->mac_control.rings[i].napi); |