Skip to content
Commit 60b7b823 authored by Zeng Guangyue's avatar Zeng Guangyue Committed by Martin K. Petersen
Browse files

scsi: ufs: remove unnecessary pointer evaluation



The pointer value is initialized as &hba->vreg_info, and it's never
changed. It's not necessary to check the pointer is null or not.

Signed-off-by: default avatarZeng Guangyue <zengguangyue@hisilicon.com>
Acked-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 60875503
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment