]> err.no Git - linux-2.6/commit
[ALSA] sound/pci: remove unused variable
authorJulia Lawall <julia@diku.dk>
Mon, 17 Mar 2008 09:23:35 +0000 (10:23 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:25 +0000 (12:00 +0200)
commitb32300a4ce78b4df92f33c455ffe644b36f0ff1a
tree467044d7a2fe84aa2c5a0f36d94788741acd8b70
parent43337ac0dec5fe507b3028d2ad4404c3f1a28034
[ALSA] sound/pci: remove unused variable

The variable is_capture is initialized but never used otherwise.

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@@
type T;
identifier i;
constant C;
@@

(
extern T i;
|
- T i;
  <+... when != i
- i = C;
  ...+>
)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/pcxhr/pcxhr.c