From: Chris Wright <chrisw@osdl.org>
To: axboe@suse.de
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Mark cfq_exit as an exit function
Date: Fri, 12 Nov 2004 14:17:43 -0800 [thread overview]
Message-ID: <20041112141743.U2357@build.pdx.osdl.net> (raw)
In-Reply-To: <20041112141556.S14339@build.pdx.osdl.net>; from chrisw@osdl.org on Fri, Nov 12, 2004 at 02:15:57PM -0800
Mark cfq_exit function as and exit function, and make it static.
Signed-off-by: Chris Wright <chris@osdl.org>
cfq-iosched.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
===== drivers/block/cfq-iosched.c 1.12 vs edited =====
--- 1.12/drivers/block/cfq-iosched.c 2004-10-28 00:40:02 -07:00
+++ edited/drivers/block/cfq-iosched.c 2004-10-29 16:35:21 -07:00
@@ -1920,7 +1920,7 @@ int cfq_init(void)
return ret;
}
-void cfq_exit(void)
+static void __exit cfq_exit(void)
{
cfq_slab_kill();
elv_unregister(&iosched_cfq);
next prev parent reply other threads:[~2004-11-12 22:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-12 22:15 [PATCH] Mark as_init and as_exit as init and exit functions Chris Wright
2004-11-12 22:17 ` Chris Wright [this message]
2004-11-12 22:21 ` [PATCH] Mark deadline_init and deadline_exit " Chris Wright
2004-11-14 13:58 ` [PATCH] Mark as_init and as_exit " Jens Axboe
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=20041112141743.U2357@build.pdx.osdl.net \
--to=chrisw@osdl.org \
--cc=axboe@suse.de \
--cc=linux-kernel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).