diff mbox series

[7/7] block: remove the BLKPREP_* values.

Message ID 20181109134241.29346-8-hch@lst.de (mailing list archive)
State New, archived
Headers show
Series [1/7] ide: cleanup ->prep_rq calling convention | expand

Commit Message

Christoph Hellwig Nov. 9, 2018, 1:42 p.m. UTC
Unused now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 include/linux/blkdev.h | 10 ----------
 1 file changed, 10 deletions(-)

Comments

Johannes Thumshirn Nov. 9, 2018, 2:01 p.m. UTC | #1
So long and thanks for all the fish,
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Bart Van Assche Nov. 10, 2018, 12:59 a.m. UTC | #2
On Fri, 2018-11-09 at 14:42 +0100, Christoph Hellwig wrote:
> Unused now.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  include/linux/blkdev.h | 10 ----------
>  1 file changed, 10 deletions(-)
> 
> diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
> index 9b1f470cc784..55597948868b 100644
> --- a/include/linux/blkdev.h
> +++ b/include/linux/blkdev.h
> @@ -778,16 +778,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;
>  
>  /*

Reviewed-by: Bart Van Assche <bvanassche@acm.org>
diff mbox series

Patch

diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 9b1f470cc784..55597948868b 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -778,16 +778,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;
 
 /*