X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=sound%2Fpci%2Fhda%2Fpatch_hdmi.c;fp=sound%2Fpci%2Fhda%2Fpatch_hdmi.c;h=2f2433845d0487dd703301664cbc33ecfc77bc11;hb=f822dcc63f966fc79b11a8254fa0942b1aa8c71e;hp=f8527342a15062517af2be86ec2e9a5bb9e16a28;hpb=ae6f2462e59d47d396996e330b6f4183e6c9fa98;p=uclinux-h8%2Flinux.git diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index f8527342a150..2f2433845d04 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c @@ -591,7 +591,7 @@ static int eld_proc_new(struct hdmi_spec_per_pin *per_pin, int index) static void eld_proc_free(struct hdmi_spec_per_pin *per_pin) { - if (!per_pin->codec->bus->shutdown && per_pin->proc_entry) { + if (!per_pin->codec->bus->shutdown) { snd_info_free_entry(per_pin->proc_entry); per_pin->proc_entry = NULL; }