diff options
author | Andrew Halaney <ahalaney@redhat.com> | 2022-12-01 17:08:07 -0600 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-12-30 21:10:38 +0000 |
commit | 921a880827498e501921bf034012a97e554550d2 (patch) | |
tree | 812c815193aa221fbf80360ea52cea08edee1b25 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 15a8348707ffd2a37516db9bede88cc0bb467e0b (diff) |
scsi: ufs: ufs-qcom: Drop unnecessary NULL checks
This code path is only called through one function, and the HBA struct is
already accessed in ufshcd_vops_dbg_register_dump() prior to calling so
there is no way for it to be NULL.
Likewise, the print_fn callback is always supplied within this driver and
is always provided.
Signed-off-by: Andrew Halaney <ahalaney@redhat.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Asutosh Das <quic_asutoshd@quicinc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions