aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorPierre-Louis Bossart <[email protected]>2022-05-20 16:17:09 -0500
committerMark Brown <[email protected]>2022-06-06 12:35:12 +0100
commitd8af541139fa135a250c5ae743bfec3b49e97c3a (patch)
tree4ead4df459ccaa77d0701ef05836d6a98533feca /tools/perf/scripts/python/flamegraph.py
parentfb6ed937aaa0703bcdacfe013897d583a6eba365 (diff)
ASoC: Intel: atom: sst_ipc: remove redundant test
cppcheck warning: sound/soc/intel/atom/sst/sst_ipc.c:344:30: style: Condition 'drv_id' is always true [knownConditionTrueFalse] if (msg_high.part.result && drv_id && !msg_high.part.large) { ^ sound/soc/intel/atom/sst/sst_ipc.c:337:13: note: Assuming that condition 'drv_id==0' is not redundant if (drv_id == SST_ASYNC_DRV_ID) { ^ sound/soc/intel/atom/sst/sst_ipc.c:344:30: note: Condition 'drv_id' is always true if (msg_high.part.result && drv_id && !msg_high.part.large) { ^ Signed-off-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Bard Liao <[email protected]> Reviewed-by: Péter Ujfalusi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions