[PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in wanpipe

STALE8194d

2 messages, 2 authors, 2004-02-26 · open the first message on its own page

[PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in wanpipe

From: Christoph Hellwig <hch@lst.de>
Date: 2004-02-22 19:21:00

wanpipe_open/close are used by sub-modules in their open/close handlers,
thus locking sdlamain into memory by using the exports

--- 1.21/drivers/net/wan/sdlamain.c	Mon Sep 22 03:01:11 2003
+++ edited/drivers/net/wan/sdlamain.c	Sun Oct  5 16:23:10 2003
@@ -1161,7 +1161,6 @@
 void wanpipe_open (sdla_t* card)
 {
 	++card->open_cnt;
-	MOD_INC_USE_COUNT;
 }
 
 /*============================================================================
@@ -1173,7 +1172,6 @@
 void wanpipe_close (sdla_t* card)
 {
 	--card->open_cnt;
-	MOD_DEC_USE_COUNT;
 }
 
 /*============================================================================

Re: [PATCH] remove useless MOD_{INC,DEC}_USE_COUNT in wanpipe

From: Jeff Garzik <hidden>
Date: 2004-02-26 05:44:30

applied all 5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help