public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Remove MOD_DEC_USE_COUNT from i2o_block.c
@ 2004-02-21  9:36 tim
  0 siblings, 0 replies; only message in thread
From: tim @ 2004-02-21  9:36 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

Please go easy on me if this patch is stupid, because it's not really
my patch. Someone told me these were removable alltogether since they
are deprecated, so I found one of them in John Cherry's compile stats
and simply removed it. Please apply in case it's not idiotic. Thanks.

Applies against Linux 2.6.3.



--- linux/drivers/message/i2o/i2o_block.c.orig	2004-02-21 10:04:45.895274304 +0100
+++ linux/drivers/message/i2o/i2o_block.c	2004-02-21 10:23:53.234852176 +0100
@@ -1503,9 +1503,6 @@ void i2ob_del_device(struct i2o_controll
 	 * Decrease usage count for module
 	 */	
 
-	while(i2ob_dev[unit].refcnt--)
-		MOD_DEC_USE_COUNT;
-
 	i2ob_dev[unit].refcnt = 0;
 	
 	i2ob_dev[i].tid = 0;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-21  9:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-21  9:36 [PATCH] Remove MOD_DEC_USE_COUNT from i2o_block.c tim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox