diff options
author | Aaron Lu <ziqianlu@bytedance.com> | 2025-05-08 16:30:36 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-05-08 09:04:12 -0600 |
commit | c0d0a9ff6d5b5b23ddabde8bcbafb28fa454ae00 (patch) | |
tree | 147cd5fcef1feb39650a83a503081afe4d227126 /rust/compiler_builtins.rs | |
parent | db492e24f9b05547ba12b4783f09c9d943cf42fe (diff) |
block: remove test of incorrect io priority level
Ever since commit eca2040972b4("scsi: block: ioprio: Clean up interface
definition"), the macro IOPRIO_PRIO_LEVEL() will mask the level value to
something between 0 and 7 so necessarily, level will always be lower than
IOPRIO_NR_LEVELS(8).
Remove this obsolete check.
Reported-by: Kexin Wei <ys.weikexin@h3c.com>
Cc: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Aaron Lu <ziqianlu@bytedance.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20250508083018.GA769554@bytedance
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/compiler_builtins.rs')
0 files changed, 0 insertions, 0 deletions