diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c index 5cd2291bc0bc7d6f381bafe9f1b917d3e04d0392..16868b7a5d0aad2146b203200298d945947a631d 100644 --- a/drivers/net/s2io.c +++ b/drivers/net/s2io.c @@ -7220,7 +7220,6 @@ static int s2io_card_up(struct s2io_nic * sp) /* Initialise napi */ if (config->napi) { - int i; if (config->intr_type == MSI_X) { for (i = 0; i < sp->config.rx_ring_num; i++) napi_enable(&sp->mac_control.rings[i].napi);