aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-01-25 14:12:54 +0300
committerTakashi Iwai <tiwai@suse.de>2021-01-25 14:50:07 +0100
commit00f3a4113c73823e22bb30129d3ec0523706a158 (patch)
tree487473b597e2583fa90e5f327afb0f07b728a90a /tools/perf/scripts/python
parentALSA: hda: Assign boolean values to a bool variable (diff)
downloadlinux-00f3a4113c73823e22bb30129d3ec0523706a158.tar.gz
linux-00f3a4113c73823e22bb30129d3ec0523706a158.zip
ALSA: oxfw: remove an unnecessary condition in hwdep_read()
Smatch complains that "count" isn't clamped properly and "oxfw->dev_lock_changed" is false then it leads to an information leak. But it turns out that "oxfw->dev_lock_changed" is always set and the condition can be removed. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Link: https://lore.kernel.org/r/YA6ntkBxT/4DJ4YK@mwanda Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions