diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-29 10:02:54 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 17:06:24 +0200 |
commit | 0302190411c2ba79819303503999cc839d600704 (patch) | |
tree | f5a1f01ca8c95a9b1507822114d46974a296b6e8 /drivers/block/aoe/aoedev.c | |
parent | generalize asm-generic/ioctl.h to allow overriding values (diff) | |
download | linux-0302190411c2ba79819303503999cc839d600704.tar.xz linux-0302190411c2ba79819303503999cc839d600704.zip |
remove aoedev_isbusy()
Remove the no longer used aoedev_isbusy().
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Cc: "Ed L. Cashin" <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r-- | drivers/block/aoe/aoedev.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/block/aoe/aoedev.c b/drivers/block/aoe/aoedev.c index f9a1cd9edb77..a1d813ab0d6b 100644 --- a/drivers/block/aoe/aoedev.c +++ b/drivers/block/aoe/aoedev.c @@ -18,24 +18,6 @@ static void skbpoolfree(struct aoedev *d); static struct aoedev *devlist; static DEFINE_SPINLOCK(devlist_lock); -int -aoedev_isbusy(struct aoedev *d) -{ - struct aoetgt **t, **te; - struct frame *f, *e; - - t = d->targets; - te = t + NTARGETS; - for (; t < te && *t; t++) { - f = (*t)->frames; - e = f + (*t)->nframes; - for (; f < e; f++) - if (f->tag != FREETAG) - return 1; - } - return 0; -} - struct aoedev * aoedev_by_aoeaddr(int maj, int min) { |