block: remove unused BLK_QC_T_EAGAIN flag
PATCH 1/1 block: remove unused BLK_QC_T_EAGAIN flag
commit 7b6620d7db56 ("block: remove REQ_NOWAIT_INLINE") removed the REQ_NOWAIT_INLINE related code, but the diff wasn't applied to blk_types.h somehow.
Then commit 2771cefeac49 ("block: remove the REQ_NOWAIT_INLINE flag") removed the REQ_NOWAIT_INLINE flag while the BLK_QC_T_EAGAIN flag still remains.
Fixes 7b6620d7db56 ("block: remove REQ_NOWAIT_INLINE")
Signed-off-by Jeffle Xu <[email protected]>
--- include/linux/blk_types.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
include/linux/blk_types.h +1 -2
@@ -497,13 +497,12 @@ static inline int op_stat_group(unsigned int op)typedef unsigned int blk_qc_t ;#define BLK_QC_T_NONE -1U -#define BLK_QC_T_EAGAIN -2U#define BLK_QC_T_SHIFT 16#define BLK_QC_T_INTERNAL (1U << 31)static inline bool blk_qc_t_valid (blk_qc_t cookie) { -return cookie !=BLK_QC_T_NONE && cookie !=BLK_QC_T_EAGAIN ; +return cookie !=BLK_QC_T_NONE ; }static inline unsigned int blk_qc_t_to_queue_num (blk_qc_t cookie)
Signature · 1 line
2.27.0
Quoted 7 lines · Jeffle Xu
commit
7b6620d7db56("block: removeREQ_NOWAIT_INLINE") removed theREQ_NOWAIT_INLINErelated code, but the diff wasn't applied toblk_types.hsomehow.Then commit
2771cefeac49("block: remove theREQ_NOWAIT_INLINEflag") removed theREQ_NOWAIT_INLINEflag while theBLK_QC_T_EAGAINflag still remains.
Applied, thanks.
Signature · 1 line
Jens Axboe