Get rid of warning now that module refcounting now done by network code not drivers. Not tested on real hardware. diff -Nru a/drivers/net/tokenring/smctr.c b/drivers/net/tokenring/smctr.c --- a/drivers/net/tokenring/smctr.c Thu Oct 2 14:03:09 2003 +++ b/drivers/net/tokenring/smctr.c Thu Oct 2 14:03:09 2003 @@ -729,10 +729,6 @@ netif_stop_queue(dev); -#ifdef MODULE - MOD_DEC_USE_COUNT; -#endif - tp->cleanup = 1; /* Check to see if adapter is already in a closed state. */ @@ -3489,10 +3485,6 @@ err = smctr_init_adapter(dev); if(err < 0) return (err); - -#ifdef MODULE - MOD_INC_USE_COUNT; -#endif return (err); } - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html