Skip to content

Commit 3aab917

Browse files
lostjeffleaxboe
authored andcommitted
block: remove unused BLK_QC_T_EAGAIN flag
commit 7b6620d ("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 2771cef ("block: remove the REQ_NOWAIT_INLINE flag") removed the REQ_NOWAIT_INLINE flag while the BLK_QC_T_EAGAIN flag still remains. Fixes: 7b6620d ("block: remove REQ_NOWAIT_INLINE") Signed-off-by: Jeffle Xu <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 9754d6c commit 3aab917

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/linux/blk_types.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,13 +497,12 @@ static inline int op_stat_group(unsigned int op)
497497

498498
typedef unsigned int blk_qc_t;
499499
#define BLK_QC_T_NONE -1U
500-
#define BLK_QC_T_EAGAIN -2U
501500
#define BLK_QC_T_SHIFT 16
502501
#define BLK_QC_T_INTERNAL (1U << 31)
503502

504503
static inline bool blk_qc_t_valid(blk_qc_t cookie)
505504
{
506-
return cookie != BLK_QC_T_NONE && cookie != BLK_QC_T_EAGAIN;
505+
return cookie != BLK_QC_T_NONE;
507506
}
508507

509508
static inline unsigned int blk_qc_t_to_queue_num(blk_qc_t cookie)

0 commit comments

Comments
 (0)