aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_conexant.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-06-12 11:43:36 -0400
committerJaroslav Kysela <perex@perex.cz>2008-06-13 10:48:38 -0400
commit149b154452b18dedd4559cdd65b965ae9011e425 (patch)
tree11f4c5bfc0680907de0a3ad13b2c89b45ae11a82 /sound/pci/hda/patch_conexant.c
parent4549915cdf468019d2fd86485dd8d2ab426b8d85 (diff)
ALSA: hda - Remove unused mutex
Removed unused mutex from patch_*.c. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci/hda/patch_conexant.c')
-rw-r--r--sound/pci/hda/patch_conexant.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index 36fd85260035..e3df8ac37076 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -82,7 +82,6 @@ struct conexant_spec {
82 /* PCM information */ 82 /* PCM information */
83 struct hda_pcm pcm_rec[2]; /* used in build_pcms() */ 83 struct hda_pcm pcm_rec[2]; /* used in build_pcms() */
84 84
85 struct mutex amp_mutex; /* PCM volume/mute control mutex */
86 unsigned int spdif_route; 85 unsigned int spdif_route;
87 86
88 /* dynamic controls, init_verbs and input_mux */ 87 /* dynamic controls, init_verbs and input_mux */
@@ -928,7 +927,6 @@ static int patch_cxt5045(struct hda_codec *codec)
928 spec = kzalloc(sizeof(*spec), GFP_KERNEL); 927 spec = kzalloc(sizeof(*spec), GFP_KERNEL);
929 if (!spec) 928 if (!spec)
930 return -ENOMEM; 929 return -ENOMEM;
931 mutex_init(&spec->amp_mutex);
932 codec->spec = spec; 930 codec->spec = spec;
933 931
934 spec->multiout.max_channels = 2; 932 spec->multiout.max_channels = 2;
@@ -1477,7 +1475,6 @@ static int patch_cxt5047(struct hda_codec *codec)
1477 spec = kzalloc(sizeof(*spec), GFP_KERNEL); 1475 spec = kzalloc(sizeof(*spec), GFP_KERNEL);
1478 if (!spec) 1476 if (!spec)
1479 return -ENOMEM; 1477 return -ENOMEM;
1480 mutex_init(&spec->amp_mutex);
1481 codec->spec = spec; 1478 codec->spec = spec;
1482 1479
1483 spec->multiout.max_channels = 2; 1480 spec->multiout.max_channels = 2;
@@ -1736,7 +1733,6 @@ static int patch_cxt5051(struct hda_codec *codec)
1736 spec = kzalloc(sizeof(*spec), GFP_KERNEL); 1733 spec = kzalloc(sizeof(*spec), GFP_KERNEL);
1737 if (!spec) 1734 if (!spec)
1738 return -ENOMEM; 1735 return -ENOMEM;
1739 mutex_init(&spec->amp_mutex);
1740 codec->spec = spec; 1736 codec->spec = spec;
1741 1737
1742 codec->patch_ops = conexant_patch_ops; 1738 codec->patch_ops = conexant_patch_ops;