[PATCH] Remove MOD_DEC_USE_COUNT from i2o_block.c

From: tim
Date: Sat Feb 21 2004 - 04:39:36 EST


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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/