]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ALSA: sscape: drop redundant fields from soundscape struct
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Wed, 4 Feb 2009 16:41:32 +0000 (17:41 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 4 Feb 2009 16:55:36 +0000 (17:55 +0100)
commit453e37b37521b613f0927fcf53ccd93ad3a8b3ae
tree3f55c0568af13a36b4d44baf9fb8dee1bd24f25e
parent56305757f0b64b7d5dd02fd54c6dfc0989868f31
ALSA: sscape: drop redundant fields from soundscape struct

The wss_base is disuised parameter for one function.
It is converted to function parameter.

The code_type is only set but never read.
It is removed.

The midi_vol is set only to 0 so it does not work
as detection of change in midi volume. It is fixed.

The xport variable is alias to the port[dev]. Use
the port[dev] directly to increase readability.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/sscape.c