diff options
author | Christoph Hellwig <hch@lst.de> | 2018-11-09 14:42:41 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-10 03:17:14 +0100 |
commit | 0e17e06cbf7ede285ab74bab44d888b40c21f828 (patch) | |
tree | 115303cb2ae50f6b35e1cd9a8cb2ba1093b921c5 /include | |
parent | scsi: return blk_status_t from device handler ->prep_fn (diff) | |
download | linux-0e17e06cbf7ede285ab74bab44d888b40c21f828.tar.xz linux-0e17e06cbf7ede285ab74bab44d888b40c21f828.zip |
block: remove the BLKPREP_* values.
Unused now.
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/blkdev.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index dc2a6f625ecb..e67ad2dd025e 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -776,16 +776,6 @@ static inline unsigned int blk_queue_depth(struct request_queue *q) return q->nr_requests; } -/* - * q->prep_rq_fn return values - */ -enum { - BLKPREP_OK, /* serve it */ - BLKPREP_KILL, /* fatal error, kill, return -EIO */ - BLKPREP_DEFER, /* leave on queue */ - BLKPREP_INVALID, /* invalid command, kill, return -EREMOTEIO */ -}; - extern unsigned long blk_max_low_pfn, blk_max_pfn; /* |