Re: [PATCH] scsi: ufs: Remove redundant vops NULL check and trivial wrapper
From: Bart Van Assche
Date: Fri May 29 2026 - 13:51:17 EST
On 5/28/26 11:16 PM, Chanwoo Lee wrote:
ufshcd_variant_hba_init/exit() check 'if (!hba->vops)' before
calling vops wrappers, but the wrappers already do NULL check
internally. Remove the redundant checks. Also remove
ufshcd_variant_hba_exit() entirely since it only wraps
ufshcd_vops_exit() with no added value.
For future patches, please stick to the "one change per patch" rule.
Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>