From: Ed L. Cashin Date: Wed, 20 Sep 2006 18:34:41 +0000 (-0400) Subject: aoe: eliminate isbusy message X-Git-Tag: v2.6.19-rc3~124^2~14 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=463c2c12dce78dd0cb77b65beba93f029a164ba3;p=~emulex%2Finfiniband.git aoe: eliminate isbusy message This message doesn't help users because the circumstance isn't problematic. Signed-off-by: "Ed L. Cashin" Acked-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/block/aoe/aoedev.c b/drivers/block/aoe/aoedev.c index ed4258a62df..c2bc3edb32c 100644 --- a/drivers/block/aoe/aoedev.c +++ b/drivers/block/aoe/aoedev.c @@ -20,11 +20,8 @@ aoedev_isbusy(struct aoedev *d) f = d->frames; e = f + d->nframes; do { - if (f->tag != FREETAG) { - printk(KERN_DEBUG "aoe: %ld.%ld isbusy\n", - d->aoemajor, d->aoeminor); + if (f->tag != FREETAG) return 1; - } } while (++f < e); return 0;