Re: [PATCH] scsi: ufs: ufs-exynos: Remove an unnecessary NULL check

From: Martin K. Petersen
Date: Mon Jun 29 2020 - 23:23:24 EST


On Fri, 26 Jun 2020 13:51:33 +0300, Dan Carpenter wrote:

> The "head" pointer can't be NULL because it points to an address in
> the middle of a ufs_hba struct. Looking at this code, probably someone
> would wonder if the intent was to check whether "hba" is NULL, but "hba"
> isn't NULL and the check can just be removed.

Applied to 5.9/scsi-queue, thanks!

[1/1] scsi: ufs: ufs-exynos: Remove an unnecessary NULL check
https://git.kernel.org/mkp/scsi/c/b7a80dac0f1f

--
Martin K. Petersen Oracle Linux Engineering