Messages in this thread | | | From | "Martin K. Petersen" <> | Subject | Re: [PATCH] scsi: ufs: ufs-exynos: Remove an unnecessary NULL check | Date | Mon, 29 Jun 2020 23:23:04 -0400 |
| |
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
| |