diff options
author | Murad Masimov <[email protected]> | 2024-10-01 22:08:39 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-10-02 14:02:32 +0100 |
commit | 8cd4e1f087b6906bacbbf8b637cac4e479a9cb34 (patch) | |
tree | 44f3ccb009bffa53c52528cc7e866e5757821aee /tools/perf/scripts/python/check-perf-trace.py | |
parent | 436bf27903ee56a242bcd373053dd8d1b5d17915 (diff) |
ASoC: amd: acp: drop bogus NULL check from i2s_irq_handler
When i2s_irq_handler is called, it's guaranteed that adata is not NULL,
since IRQ handlers are guaranteed to be provided with a valid data pointer.
Moreover, adata pointer is being dereferenced right before the NULL check,
which makes the check pointless, even if adata could be NULL.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Signed-off-by: Murad Masimov <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions