|
@@ -2634,8 +2634,7 @@ static int map_slaves(struct hda_codec *codec, const char * const *slaves,
|
|
|
items = codec->mixers.list;
|
|
|
for (i = 0; i < codec->mixers.used; i++) {
|
|
|
struct snd_kcontrol *sctl = items[i].kctl;
|
|
|
- if (!sctl || !sctl->id.name ||
|
|
|
- sctl->id.iface != SNDRV_CTL_ELEM_IFACE_MIXER)
|
|
|
+ if (!sctl || sctl->id.iface != SNDRV_CTL_ELEM_IFACE_MIXER)
|
|
|
continue;
|
|
|
for (s = slaves; *s; s++) {
|
|
|
char tmpname[sizeof(sctl->id.name)];
|