diff options
author | Kiyoshi Ueda <k-ueda@ct.jp.nec.com> | 2008-10-01 10:14:46 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-10-09 02:56:21 -0400 |
commit | d00e29fd99dd63d1c51917604e35dee824ed567f (patch) | |
tree | 461c725d7ffaf2d5a69bc854ca4aa9977f530ea2 /include/linux/blkdev.h | |
parent | 99cd3386f290eaf61f2b7596d5a4cc2007771174 (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.h | 2 |
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, | |||
793 | extern int blk_end_bidi_request(struct request *rq, int error, | 793 | extern 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); |
795 | extern void end_request(struct request *, int); | 795 | extern void end_request(struct request *, int); |
796 | extern void end_queued_request(struct request *, int); | ||
797 | extern void end_dequeued_request(struct request *, int); | ||
798 | extern int blk_end_request_callback(struct request *rq, int error, | 796 | extern 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 *)); |