aboutsummaryrefslogtreecommitdiff
path: root/sound/isa
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-08-01 17:28:24 +0100
committerTakashi Iwai <tiwai@suse.de>2019-08-02 07:47:38 +0200
commit3bb4aefd2aed628452b8ce544b76abda0ce531f0 (patch)
tree461100c2c914ac2336ef009fd6480db9e9d63ad6 /sound/isa
parentc1c0c032c785a9eb2814b65bb11c8694540f07d1 (diff)
downloadlinux-3bb4aefd2aed628452b8ce544b76abda0ce531f0.tar.gz
ALSA: isa/wavefront: remove redundant assignment to pointer bptr
The pointer bptr is being assigned a value that is never read and it is being updated in the next statement with a new value. The initialization is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa')
-rw-r--r--sound/isa/wavefront/wavefront_synth.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/isa/wavefront/wavefront_synth.c b/sound/isa/wavefront/wavefront_synth.c
index aec1c46e6697..c5b1d5900eed 100644
--- a/sound/isa/wavefront/wavefront_synth.c
+++ b/sound/isa/wavefront/wavefront_synth.c
@@ -788,7 +788,6 @@ wavefront_send_patch (snd_wavefront_t *dev, wavefront_patch_info *header)
dev->patch_status[header->number] |= WF_SLOT_FILLED;
- bptr = buf;
bptr = munge_int32 (header->number, buf, 2);
munge_buf ((unsigned char *)&header->hdr.p, bptr, WF_PATCH_BYTES);