]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: ufs: core: Simplify ufshcd_try_to_abort_task()
authorBart Van Assche <bvanassche@acm.org>
Tue, 22 Oct 2024 19:30:59 +0000 (12:30 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Oct 2024 19:01:10 +0000 (15:01 -0400)
commit9a5f6c09d0fa5a7b2139a745368e0ef77dece34b
tree7c6044a6d1c71a7e3028d65d0e2633c6db3ce642
parent7df89440d0ec47a4d91c5d664a6fa33931800913
scsi: ufs: core: Simplify ufshcd_try_to_abort_task()

The MCQ code is also valid for legacy mode. Hence, remove the legacy
mode code and retain the MCQ code. Since it is not an error if a command
completes while ufshcd_try_to_abort_task() is in progress, use
dev_info() instead of dev_err() to report this.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20241022193130.2733293-4-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c