netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in lasi_82596.c
@ 2004-02-22 18:35 Christoph Hellwig
  2004-02-23 23:46 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2004-02-22 18:35 UTC (permalink / raw)
  To: netdev


--- 1.22/drivers/net/lasi_82596.c	Sat Jan 10 16:34:11 2004
+++ edited/drivers/net/lasi_82596.c	Sun Feb 22 20:30:38 2004
@@ -1016,8 +1016,6 @@
 {
 	DEB(DEB_OPEN,printk("%s: i596_open() irq %d.\n", dev->name, dev->irq));
 
-	MOD_INC_USE_COUNT;
-
 	if (request_irq(dev->irq, &i596_interrupt, 0, "i82596", dev)) {
 		printk("%s: IRQ %d not free\n", dev->name, dev->irq);
 		goto out;
@@ -1038,8 +1036,6 @@
 	remove_rx_bufs(dev);
 	free_irq(dev->irq, dev);
 out:
-	MOD_DEC_USE_COUNT;
-
 	return -EAGAIN;
 }
 

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

* Re: [PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in lasi_82596.c
  2004-02-22 18:35 [PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in lasi_82596.c Christoph Hellwig
@ 2004-02-23 23:46 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2004-02-23 23:46 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: netdev

I'll look through these.

Please CC drivers/net/* patches to me.

	Jeff

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

end of thread, other threads:[~2004-02-23 23:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-22 18:35 [PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in lasi_82596.c Christoph Hellwig
2004-02-23 23:46 ` 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).