From: Shine Mohamed <shinemohamed_j@naturesoft.net>
To: trivial@rustcorp.com.au, linux-kernel@vger.kernel.org
Cc: krishnakumar@naturesoft.net
Subject: [TRIVIAL][PATCH] Removed deprecated functions/macros from lanai.c
Date: Mon, 22 Sep 2003 17:10:23 +0530 [thread overview]
Message-ID: <200309221710.23656.shinemohamed_j@naturesoft.net> (raw)
Patch to remove deprecated inline function MOD_INC_USE_COUNT and
MOD_INC_DEC_COUNT.
diff -urN linux-2.6.0-test5.orig/drivers/atm/lanai.c
linux-2.6.0-test5/drivers/atm/lanai.c
--- linux-2.6.0-test5.orig/drivers/atm/lanai.c 2003-09-09 01:19:58.000000000
+0530
+++ linux-2.6.0-test5/drivers/atm/lanai.c 2003-09-22 10:13:56.000000000
+0530
@@ -2242,7 +2242,6 @@
printk(KERN_ERR DEV_LABEL ": can't allocate interrupt\n");
goto error_vcctable;
}
- MOD_INC_USE_COUNT; /* At this point we can't fail */
mb(); /* Make sure that all that made it */
intr_enable(lanai, INT_ALL & ~(INT_PING | INT_WAKE));
/* 3.11: initialize loop mode (i.e. turn looping off) */
@@ -2312,7 +2311,6 @@
service_buffer_deallocate(lanai);
iounmap((void *) lanai->base);
kfree(lanai);
- MOD_DEC_USE_COUNT;
}
/* close a vcc */
reply other threads:[~2003-09-22 11:39 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=200309221710.23656.shinemohamed_j@naturesoft.net \
--to=shinemohamed_j@naturesoft.net \
--cc=krishnakumar@naturesoft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@rustcorp.com.au \
/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
all inboxes | Powered by JetHome®