From: Adrian Bunk <bunk@stusta.de>
To: dm-devel@redhat.com
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] drivers/md/kcopyd.c: remove kcopyd_cancel()
Date: Sat, 5 Nov 2005 17:31:08 +0100 [thread overview]
Message-ID: <20051105163108.GJ5368@stusta.de> (raw)
A function that is
- not used
- empty
- without a prototype in any header file
should be removed.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
drivers/md/kcopyd.c | 11 -----------
1 file changed, 11 deletions(-)
--- linux-2.6.14-rc5-mm1-full/drivers/md/kcopyd.c.old 2005-11-05 16:36:11.000000000 +0100
+++ linux-2.6.14-rc5-mm1-full/drivers/md/kcopyd.c 2005-11-05 17:04:45.000000000 +0100
@@ -558,16 +558,6 @@
return 0;
}
-/*
- * Cancels a kcopyd job, eg. someone might be deactivating a
- * mirror.
- */
-int kcopyd_cancel(struct kcopyd_job *job, int block)
-{
- /* FIXME: finish */
- return -1;
-}
-
/*-----------------------------------------------------------------
* Unit setup
*---------------------------------------------------------------*/
@@ -685,4 +675,3 @@
EXPORT_SYMBOL(kcopyd_client_create);
EXPORT_SYMBOL(kcopyd_client_destroy);
EXPORT_SYMBOL(kcopyd_copy);
-EXPORT_SYMBOL(kcopyd_cancel);
next reply other threads:[~2005-11-05 16:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-05 16:31 Adrian Bunk [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-11-08 13:44 [2.6 patch] drivers/md/kcopyd.c: remove kcopyd_cancel() Adrian Bunk
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=20051105163108.GJ5368@stusta.de \
--to=bunk@stusta.de \
--cc=dm-devel@redhat.com \
--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