diff options
author | Dan Carpenter <[email protected]> | 2021-01-25 14:12:54 +0300 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2021-01-25 14:50:07 +0100 |
commit | 00f3a4113c73823e22bb30129d3ec0523706a158 (patch) | |
tree | 487473b597e2583fa90e5f327afb0f07b728a90a /scripts/gdb/linux/utils.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 <[email protected]>
Acked-by: Takashi Sakamoto <[email protected]>
Link: https://lore.kernel.org/r/YA6ntkBxT/4DJ4YK@mwanda
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions