All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][ATM] remove mod_inc_use_count from lec
@ 2003-02-26 12:30 chas williams
  2003-02-26 12:42 ` Duncan Sands
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: chas williams @ 2003-02-26 12:30 UTC (permalink / raw)
  To: linux-kernel

this patch removes the deprecated MOD_INC_USE_COUNT/MOD_DEC_USE_COUNT
from the lane client.

Index: linux/net/atm/lec.c
===================================================================
RCS file: /home/chas/CVSROOT/linux/net/atm/lec.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- linux/net/atm/lec.c	25 Feb 2003 11:59:08 -0000	1.8
+++ linux/net/atm/lec.c	25 Feb 2003 19:48:44 -0000	1.9
@@ -543,7 +543,6 @@
         }
   
 	printk("%s: Shut down!\n", dev->name);
-        MOD_DEC_USE_COUNT;
 }
 
 static struct atmdev_ops lecdev_ops = {
@@ -824,7 +823,6 @@
         if (dev_lec[i]->flags & IFF_UP) {
                 netif_start_queue(dev_lec[i]);
         }
-        MOD_INC_USE_COUNT;
         return i;
 }
 
Index: linux/net/atm/mpc.c
===================================================================
RCS file: /home/chas/CVSROOT/linux/net/atm/mpc.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- linux/net/atm/mpc.c	20 Feb 2003 13:46:30 -0000	1.1
+++ linux/net/atm/mpc.c	26 Feb 2003 12:27:30 -0000	1.2
@@ -799,7 +799,6 @@
 			send_set_mps_ctrl_addr(mpc->mps_ctrl_addr, mpc);
 	}
 
-	MOD_INC_USE_COUNT;
 	return arg;
 }
 
@@ -848,7 +847,6 @@
 	
 	printk("mpoa: (%s) going down\n",
 		(mpc->dev) ? mpc->dev->name : "<unknown>");
-	MOD_DEC_USE_COUNT;
 
 	return;
 }

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

end of thread, other threads:[~2003-02-27  9:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-26 12:30 [PATCH][ATM] remove mod_inc_use_count from lec chas williams
2003-02-26 12:42 ` Duncan Sands
2003-02-26 12:48   ` chas williams
2003-02-26 15:07 ` Jeff Garzik
2003-02-26 16:09 ` chas williams
2003-02-27  4:29   ` David S. Miller
2003-02-27 10:07     ` chas williams

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.