]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - sound/synth/emux/emux_oss.c
ALSA: emux: remove unused redundant variable p2
[mirror_ubuntu-bionic-kernel.git] / sound / synth / emux / emux_oss.c
index de19e108974a432ec9f796f6c8dc5a1b99dec707..764ff4bc20892cc23a9a2b5054c8bf77f817a1f4 100644 (file)
@@ -430,7 +430,6 @@ gusspec_control(struct snd_emux *emu, struct snd_emux_port *port, int cmd,
 {
        int voice;
        unsigned short p1;
-       short p2;
        int plong;
        struct snd_midi_channel *chan;
 
@@ -445,7 +444,6 @@ gusspec_control(struct snd_emux *emu, struct snd_emux_port *port, int cmd,
        chan = &port->chset.channels[voice];
 
        p1 = *(unsigned short *) &event[4];
-       p2 = *(short *) &event[6];
        plong = *(int*) &event[4];
 
        switch (cmd) {