diff options
| author | Dan Carpenter <[email protected]> | 2020-06-26 13:51:33 +0300 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-06-29 21:33:20 -0400 |
| commit | b7a80dac0f1f16ca5714b89ace8a3fc079686875 (patch) | |
| tree | f4c07586492d8e5432bfbc8e6a07a0a90b1b9bbf /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | fbca7a04dbd8271752a58594727b61307bcc85b6 (diff) | |
scsi: ufs: ufs-exynos: Remove an unnecessary NULL check
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.
Link: https://lore.kernel.org/r/20200626105133.GF314359@mwanda
Acked-by: Alim Akhtar <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions