All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][ATM]: [idt77252] get rid of MOD_INC/MOD_DEC
@ 2003-09-21 14:45 chas williams
  2003-09-22  1:10 ` David S. Miller
  2003-09-22  1:10 ` David S. Miller
  0 siblings, 2 replies; 3+ messages in thread
From: chas williams @ 2003-09-21 14:45 UTC (permalink / raw)
  To: davem; +Cc: netdev

please apply to 2.6.  --thanks

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1438  -> 1.1439 
#	drivers/atm/idt77252.c	1.25    -> 1.26   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/09/09	chas@relax.cmf.nrl.navy.mil	1.1439
# [ATM]: [idt77252] get rid of MOD_INC/MOD_DEC
# --------------------------------------------
#
diff -Nru a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c
--- a/drivers/atm/idt77252.c	Sun Sep 21 09:36:42 2003
+++ b/drivers/atm/idt77252.c	Sun Sep 21 09:36:42 2003
@@ -149,7 +149,8 @@
 	.phy_put	= idt77252_phy_put,
 	.phy_get	= idt77252_phy_get,
 	.change_qos	= idt77252_change_qos,
-	.proc_read	= idt77252_proc_read
+	.proc_read	= idt77252_proc_read,
+	.owner		= THIS_MODULE
 };
 
 static struct idt77252_dev *idt77252_chain = NULL;
@@ -2542,7 +2543,6 @@
 	}
 
 	set_bit(ATM_VF_READY, &vcc->flags);
-	MOD_INC_USE_COUNT;
 
 	up(&card->mutex);
 	return 0;
@@ -2629,7 +2629,6 @@
 		free_scq(card, vc->scq);
 	}
 
-	MOD_DEC_USE_COUNT;
 	up(&card->mutex);
 }
 

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

* Re: [PATCH][ATM]: [idt77252] get rid of MOD_INC/MOD_DEC
  2003-09-21 14:45 [PATCH][ATM]: [idt77252] get rid of MOD_INC/MOD_DEC chas williams
@ 2003-09-22  1:10 ` David S. Miller
  2003-09-22  1:10 ` David S. Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David S. Miller @ 2003-09-22  1:10 UTC (permalink / raw)
  To: chas3; +Cc: chas, netdev

On Sun, 21 Sep 2003 10:45:38 -0400
chas williams <chas@cmf.nrl.navy.mil> wrote:

> please apply to 2.6.  --thanks
 ...
> # [ATM]: [idt77252] get rid of MOD_INC/MOD_DEC

Applied, thanks.

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

* Re: [PATCH][ATM]: [idt77252] get rid of MOD_INC/MOD_DEC
  2003-09-21 14:45 [PATCH][ATM]: [idt77252] get rid of MOD_INC/MOD_DEC chas williams
  2003-09-22  1:10 ` David S. Miller
@ 2003-09-22  1:10 ` David S. Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David S. Miller @ 2003-09-22  1:10 UTC (permalink / raw)
  To: chas3; +Cc: chas, netdev

On Sun, 21 Sep 2003 10:45:38 -0400
chas williams <chas@cmf.nrl.navy.mil> wrote:

> please apply to 2.6.  --thanks
 ...
> # [ATM]: [idt77252] get rid of MOD_INC/MOD_DEC

Applied, thanks.

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

end of thread, other threads:[~2003-09-22  1:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-21 14:45 [PATCH][ATM]: [idt77252] get rid of MOD_INC/MOD_DEC chas williams
2003-09-22  1:10 ` David S. Miller
2003-09-22  1:10 ` David S. Miller

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.