Re: [PATCH] scsi: ufs: Remove redundant vops NULL check and trivial wrapper
From: Martin K. Petersen
Date: Mon Jun 01 2026 - 22:06:14 EST
Chanwoo,
> 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.
Applied to 7.2/scsi-staging, thanks!
--
Martin K. Petersen