mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chris Wright <chrisw@osdl.org>
To: axboe@suse.de
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Mark deadline_init and deadline_exit as init and exit functions
Date: Fri, 12 Nov 2004 14:21:08 -0800	[thread overview]
Message-ID: <20041112142108.V2357@build.pdx.osdl.net> (raw)
In-Reply-To: <20041112141743.U2357@build.pdx.osdl.net>; from chrisw@osdl.org on Fri, Nov 12, 2004 at 02:17:43PM -0800

Mark deadline_init and deadline_exit as init and exit functions, and
make them static.

Signed-off-by: Chris Wright <chris@osdl.org>

===== drivers/block/deadline-iosched.c 1.31 vs edited =====
--- 1.31/drivers/block/deadline-iosched.c	2004-10-19 02:40:18 -07:00
+++ edited/drivers/block/deadline-iosched.c	2004-10-29 15:51:12 -07:00
@@ -936,7 +936,7 @@ static struct elevator_type iosched_dead
 	.elevator_owner = THIS_MODULE,
 };
 
-int deadline_init(void)
+static int __init deadline_init(void)
 {
 	int ret;
 
@@ -953,7 +953,7 @@ int deadline_init(void)
 	return ret;
 }
 
-void deadline_exit(void)
+static void __exit deadline_exit(void)
 {
 	kmem_cache_destroy(drq_pool);
 	elv_unregister(&iosched_deadline);

  reply	other threads:[~2004-11-12 22:22 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 " Chris Wright
2004-11-12 22:17 ` [PATCH] Mark cfq_exit as an exit function Chris Wright
2004-11-12 22:21   ` Chris Wright [this message]
2004-11-14 13:58 ` [PATCH] Mark as_init and as_exit as init and exit functions 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=20041112142108.V2357@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

Powered by JetHome