diff options
| author | Aaron Lu <[email protected]> | 2025-05-08 08:30:36 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-05-08 15:04:12 +0000 |
| commit | c0d0a9ff6d5b5b23ddabde8bcbafb28fa454ae00 (patch) | |
| tree | 147cd5fcef1feb39650a83a503081afe4d227126 /drivers/mmc/core/queue.c | |
| parent | block: only update request sector if needed (diff) | |
| download | kernel-c0d0a9ff6d5b5b23ddabde8bcbafb28fa454ae00.tar.gz kernel-c0d0a9ff6d5b5b23ddabde8bcbafb28fa454ae00.zip | |
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 <[email protected]>
Cc: Damien Le Moal <[email protected]>
Signed-off-by: Aaron Lu <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Link: https://lore.kernel.org/r/20250508083018.GA769554@bytedance
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/mmc/core/queue.c')
0 files changed, 0 insertions, 0 deletions
