scsi: ufs: core: Remove WARN_ON_ONCE() call from ufshcd_uic_cmd_compl()

The UIC completion interrupt may be disabled while an UIC command is
being processed. When the UIC completion interrupt is reenabled, an UIC
interrupt is triggered and the WARN_ON_ONCE(!cmd) statement is hit.
Hence this patch that removes this kernel warning.

Fixes: fcd8b0450a9a ("scsi: ufs: core: Make ufshcd_uic_cmd_compl() easier to analyze")
Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20250815155842.472867-3-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by Bart Van Assche and committed by Martin K. Petersen e5203d89 eabcac80

+1 -1
+1 -1
drivers/ufs/core/ufshcd.c
··· 5561 5562 guard(spinlock_irqsave)(hba->host->host_lock); 5563 cmd = hba->active_uic_cmd; 5564 - if (WARN_ON_ONCE(!cmd)) 5565 goto unlock; 5566 5567 if (ufshcd_is_auto_hibern8_error(hba, intr_status))
··· 5561 5562 guard(spinlock_irqsave)(hba->host->host_lock); 5563 cmd = hba->active_uic_cmd; 5564 + if (!cmd) 5565 goto unlock; 5566 5567 if (ufshcd_is_auto_hibern8_error(hba, intr_status))