aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorKiyoshi Ueda <k-ueda@ct.jp.nec.com>2008-10-01 10:14:46 -0400
committerJens Axboe <jens.axboe@oracle.com>2008-10-09 02:56:21 -0400
commitd00e29fd99dd63d1c51917604e35dee824ed567f (patch)
tree461c725d7ffaf2d5a69bc854ca4aa9977f530ea2 /include/linux/blkdev.h
parent99cd3386f290eaf61f2b7596d5a4cc2007771174 (diff)
block: remove end_{queued|dequeued}_request()
This patch removes end_queued_request() and end_dequeued_request(), which are no longer used. As a results, users of __end_request() became only end_request(). So the actual code in __end_request() is moved to end_request() and __end_request() is removed. Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com> Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 9e0ee1a8254e..bfc18e497c7f 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -793,8 +793,6 @@ extern int __blk_end_request(struct request *rq, int error,
793extern int blk_end_bidi_request(struct request *rq, int error, 793extern int blk_end_bidi_request(struct request *rq, int error,
794 unsigned int nr_bytes, unsigned int bidi_bytes); 794 unsigned int nr_bytes, unsigned int bidi_bytes);
795extern void end_request(struct request *, int); 795extern void end_request(struct request *, int);
796extern void end_queued_request(struct request *, int);
797extern void end_dequeued_request(struct request *, int);
798extern int blk_end_request_callback(struct request *rq, int error, 796extern int blk_end_request_callback(struct request *rq, int error,
799 unsigned int nr_bytes, 797 unsigned int nr_bytes,
800 int (drv_callback)(struct request *)); 798 int (drv_callback)(struct request *));