mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@kernel.org>
To: "Ed L. Cashin" <ecashin@coraid.com>
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] #if 0 aoedev_isbusy()
Date: Wed, 13 Feb 2008 23:30:02 +0200	[thread overview]
Message-ID: <20080213213002.GT3383@cs181133002.pp.htv.fi> (raw)

This patch #if 0's the no longer used aoedev_isbusy().

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

 drivers/block/aoe/aoe.h    |    1 -
 drivers/block/aoe/aoedev.c |    2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

3a516f0cdfe99486288c8379714dc17aa2c0d4b4 diff --git a/drivers/block/aoe/aoe.h b/drivers/block/aoe/aoe.h
index 280e71e..5b4c6e6 100644
--- a/drivers/block/aoe/aoe.h
+++ b/drivers/block/aoe/aoe.h
@@ -195,7 +195,6 @@ void aoedev_exit(void);
 struct aoedev *aoedev_by_aoeaddr(int maj, int min);
 struct aoedev *aoedev_by_sysminor_m(ulong sysminor);
 void aoedev_downdev(struct aoedev *d);
-int aoedev_isbusy(struct aoedev *d);
 int aoedev_flush(const char __user *str, size_t size);
 
 int aoenet_init(void);
diff --git a/drivers/block/aoe/aoedev.c b/drivers/block/aoe/aoedev.c
index f9a1cd9..2f481d9 100644
--- a/drivers/block/aoe/aoedev.c
+++ b/drivers/block/aoe/aoedev.c
@@ -18,6 +18,7 @@ static void skbpoolfree(struct aoedev *d);
 static struct aoedev *devlist;
 static DEFINE_SPINLOCK(devlist_lock);
 
+#if 0
 int
 aoedev_isbusy(struct aoedev *d)
 {
@@ -35,6 +36,7 @@ aoedev_isbusy(struct aoedev *d)
 	}
 	return 0;
 }
+#endif  /*  0  */
 
 struct aoedev *
 aoedev_by_aoeaddr(int maj, int min)


             reply	other threads:[~2008-02-13 21:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-13 21:30 Adrian Bunk [this message]
2008-02-13 22:03 ` Jan Engelhardt
2008-02-13 22:05   ` Adrian Bunk
2008-02-13 22:56     ` Ed L. Cashin
2008-02-14 21:23       ` [2.6 patch] remove aoedev_isbusy() 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=20080213213002.GT3383@cs181133002.pp.htv.fi \
    --to=bunk@kernel.org \
    --cc=ecashin@coraid.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

all inboxes | Powered by JetHome®