diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-01-25 14:12:54 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-01-25 14:50:07 +0100 |
commit | 00f3a4113c73823e22bb30129d3ec0523706a158 (patch) | |
tree | 487473b597e2583fa90e5f327afb0f07b728a90a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 62c2b4be0d858bb4d381868459fb8f82c3b58a21 (diff) |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions