netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pc300 - get rid of MOD_INC/MOD_DEC
@ 2003-11-24 23:51 Stephen Hemminger
  2003-12-07 18:51 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2003-11-24 23:51 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: netdev

Remove old style mod inc/dec from this WAN driver.

diff -Nru a/drivers/net/wan/pc300_drv.c b/drivers/net/wan/pc300_drv.c
--- a/drivers/net/wan/pc300_drv.c	Mon Nov 24 15:36:51 2003
+++ b/drivers/net/wan/pc300_drv.c	Mon Nov 24 15:36:51 2003
@@ -3165,7 +3165,6 @@
 		return result;
 	}
 
-	MOD_INC_USE_COUNT;
 	sprintf(ifr.ifr_name, "%s", dev->name);
 	cpc_opench(d);
 	netif_start_queue(dev);
@@ -3201,7 +3200,6 @@
 	}
 #endif
 
-	MOD_DEC_USE_COUNT;
 	return 0;
 }
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-07 18:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-24 23:51 [PATCH] pc300 - get rid of MOD_INC/MOD_DEC Stephen Hemminger
2003-12-07 18:51 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).