diff options
| author | Pierre-Louis Bossart <[email protected]> | 2020-09-02 21:21:32 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2020-09-03 07:27:56 +0000 |
| commit | e408ab068aeca958b83bb6e5ca724356f8c7d78e (patch) | |
| tree | f281c7b75cce6fb253f34e3ca61f0e8d1b1a1114 /sound/core/timer.c | |
| parent | ALSA: vx: vx_core: clarify operator precedence (diff) | |
| download | kernel-e408ab068aeca958b83bb6e5ca724356f8c7d78e.tar.gz kernel-e408ab068aeca958b83bb6e5ca724356f8c7d78e.zip | |
ALSA: vx: vx_pcm: remove redundant assignment
Fix cppcheck warning:
sound/drivers/vx/vx_pcm.c:539:30: style: Variable
'chip->playback_pipes[audio]' is reassigned a value before the old one
has been used. [redundantAssignment]
chip->playback_pipes[audio] = pipe;
^
sound/drivers/vx/vx_pcm.c:533:31: note: chip->playback_pipes[audio] is
assigned
chip->playback_pipes[audio] = pipe;
^
sound/drivers/vx/vx_pcm.c:539:30: note: chip->playback_pipes[audio] is
overwritten
chip->playback_pipes[audio] = pipe;
^
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'sound/core/timer.c')
0 files changed, 0 insertions, 0 deletions
