scsi: ufs: qcom: Remove unnecessary check
authorDan Carpenter <dan.carpenter@linaro.org>
Mon, 2 Oct 2023 07:03:35 +0000 (10:03 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 10 Oct 2023 01:53:45 +0000 (21:53 -0400)
commitb6f2e063017b92491976a40c32a0e4b3c13e7d2f
treebaf0cae01882dae8e56b1e057b3296a0dc7c2452
parentfcf3fb7bd50c08e1bef8de0d36e62e53b58ceb8a
scsi: ufs: qcom: Remove unnecessary check

The "attr" pointer points to an offset into the "host" struct so it can't
be NULL.  Delete the if statement and pull the code in a tab.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/fe3b8fcd-64a7-4887-bddd-32239a88a6a3@moroto.mountain
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/host/ufs-qcom.c