diff options
author | Can Guo <[email protected]> | 2021-02-23 21:36:49 -0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2021-03-04 17:21:24 -0500 |
commit | 4d195dc451570db79251a58022309728cc7b29de (patch) | |
tree | d83de4d896fb585ec28afe3c5e28794f935d4547 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4a791574a0ccf36eb3a0a46fbd71d2768df3eef9 (diff) |
scsi: ufs: Remove redundant checks of !hba in suspend/resume callbacks
Runtime and system suspend/resume can only come after hba probe invokes
platform_set_drvdata(pdev, hba), meaning hba cannot be NULL in these PM
callbacks, so remove the checks of !hba.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Avri Altman <[email protected]>
Signed-off-by: Can Guo <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions