Re: [PATCH] r8169: don't call napi_disable if not doing NAPI

From: Francois Romieu
Date: Fri Oct 26 2007 - 16:24:23 EST


Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx> :
> Don't call napi_disable if not configured.
> And make sure that any misuse of napi_xxx in future fails
> with a compile error.

Disable napi polling early and remove the useless poll_locked logic.

>
> Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx>

Acked-off-by: Francois Romieu <romieu@xxxxxxxxxxxxx>

--
Ueimor
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/