diff options
| author | Colin Ian King <[email protected]> | 2022-08-05 13:04:39 +0100 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2022-08-05 15:06:36 +0200 |
| commit | 666d3b612f91dab4a6616586dc99d2e43f07f52d (patch) | |
| tree | 7037e929a5b9e667bd9b85ce2b49689c7a4cd08f /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | f882c4bef9cb914d9f7be171afb10ed26536bfa7 (diff) | |
ALSA: ice1712: remove redundant assignment to new
The variable new is initialized with a value but it is never read. It is
being re-assigned a new value in every case path in the following switch
statement. The assignment is redundant and can be removed.
Cleans up clang scan build warning:
sound/pci/ice1712/quartet.c:569:8: warning: Although the value stored
to 'new' is used in the enclosing expression, the value is never actually
read from 'new' [deadcode.DeadStores]
Signed-off-by: Colin Ian King <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions