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

From: Martin K. Petersen
Date: Wed Jun 07 2023 - 21:12:50 EST



Stanley,

> 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.

Applied to 6.5/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering