block: remove the BLKPREP_* values.
authorChristoph Hellwig <hch@lst.de>
Fri, 9 Nov 2018 13:42:41 +0000 (14:42 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 10 Nov 2018 02:17:14 +0000 (19:17 -0700)
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>
include/linux/blkdev.h

index dc2a6f6..e67ad2d 100644 (file)
@@ -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;
 
 /*