summaryrefslogtreecommitdiffstats
path: root/lib/decompress_unlzo.c
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-02-20 04:18:04 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2022-02-23 03:31:20 +0100
commitbf67e693fc40d7b2e32f79427f1284d98ba1c809 (patch)
treea1f2719b48dc5dd1f2b8da78a7abfbb10e67251a /lib/decompress_unlzo.c
parentscsi: pm8001: Cleanup pm8001_exec_internal_task_abort() (diff)
downloadlinux-bf67e693fc40d7b2e32f79427f1284d98ba1c809.tar.xz
linux-bf67e693fc40d7b2e32f79427f1284d98ba1c809.zip
scsi: pm8001: Simplify pm8001_get_ncq_tag()
To detect if a command is NCQ, there is no need to test all possible NCQ command codes. Instead, use ata_is_ncq() to test the command protocol. Link: https://lore.kernel.org/r/20220220031810.738362-26-damien.lemoal@opensource.wdc.com Reviewed-by: John Garry <john.garry@huawei.com> Reviewed-by: Jack Wang <jinpu.wang@ionos.com> Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/decompress_unlzo.c')
0 files changed, 0 insertions, 0 deletions