public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: tim@cambrant.com
To: torvalds@osdl.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Remove MOD_DEC_USE_COUNT from i2o_block.c
Date: Sat, 21 Feb 2004 10:36:01 +0100	[thread overview]
Message-ID: <20040221093601.GA32094@cambrant.com> (raw)

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;

                 reply	other threads:[~2004-02-21  9:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040221093601.GA32094@cambrant.com \
    --to=tim@cambrant.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox