summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorGabriel Rondon <grondon@gmail.com>2026-03-31 17:44:42 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-04-27 05:01:51 -0600
commit6aa2b11ce527c23e6a472204ee74fdf4a7411231 (patch)
treedc0f63ac3343ccc76fd66634531f181edd72e587 /tools/perf/scripts/python/stackcollapse.py
parent254f49634ee16a731174d2ae34bc50bd5f45e731 (diff)
staging: most: dim2: remove unnecessary NULL check in service_done_flag()
Remove the !hdm_ch check. hdm_ch is derived from dev->hch + ch_idx (pointer arithmetic on a struct member), so it can never be NULL. Keep only the !hdm_ch->is_initialized check. Reported-by: Dan Carpenter <error27@gmail.com> Closes: https://lore.kernel.org/all/acuoL4DRi0pmsQY1@stanley.mountain Signed-off-by: Gabriel Rondon <grondon@gmail.com> Link: https://patch.msgid.link/20260331164443.47682-1-grondon@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions