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 |
So long and thanks for all the fish,
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
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 --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; /*
Unused now. Signed-off-by: Christoph Hellwig <hch@lst.de> --- include/linux/blkdev.h | 10 ---------- 1 file changed, 10 deletions(-)