[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200806261640.27048.knikanth@suse.de>
Date: Thu, 26 Jun 2008 16:40:26 +0530
From: Nikanth Karthikesan <knikanth@...e.de>
To: linux-aio@...ck.org
Cc: Jeff Moyer <jmoyer@...hat.com>, linux-kernel@...r.kernel.org,
Benjamin LaHaise <bcrl@...ck.org>,
Zach Brown <zach.brown@...cle.com>
Subject: [PATCH] aio: remove unused function aio_run_iocbs()
remove unused function aio_run_iocbs()
Signed-off-by: Nikanth Karthikesan <knikanth@...e.de>
---
diff --git a/fs/aio.c b/fs/aio.c
index 0fb3117..e27f611 100644
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -797,26 +797,6 @@ static void aio_queue_work(struct kioctx * ctx)
queue_delayed_work(aio_wq, &ctx->wq, timeout);
}
-
-/*
- * aio_run_iocbs:
- * Process all pending retries queued on the ioctx
- * run list.
- * Assumes it is operating within the aio issuer's mm
- * context.
- */
-static inline void aio_run_iocbs(struct kioctx *ctx)
-{
- int requeue;
-
- spin_lock_irq(&ctx->ctx_lock);
-
- requeue = __aio_run_iocbs(ctx);
- spin_unlock_irq(&ctx->ctx_lock);
- if (requeue)
- aio_queue_work(ctx);
-}
-
/*
* just like aio_run_iocbs, but keeps running them until
* the list stays empty
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists