Re: [PATCH v2] ufs: core: Combine ufshcd_mq_poll_cqe functions

From: Bean Huo
Date: Wed Jun 07 2023 - 04:42:11 EST


On 02.06.23 12:50 AM, Stanley Chu wrote:
Currently, ufshcd_mcq_poll_cqe_nolock() is only called by
ufshcd_mcq_poll_cqe_lock() with the addition of a spinlock wrapper
for ufshcd_mcq_poll_cqe_nolock(). Combining these two functions
into one would result in cleaner code.

Reviewed-by: Bao D. Nguyen<quic_nguyenb@xxxxxxxxxxx>
Signed-off-by: Stanley Chu<stanley.chu@xxxxxxxxxxxx>
Acked-by: Bean Huo <beanhuo@xxxxxxxxxx>