ALSA: hda - Get rid of superfluous beep->mode field
authorTakashi Iwai <tiwai@suse.de>
Tue, 3 Jul 2012 15:35:05 +0000 (17:35 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 3 Jul 2012 16:31:36 +0000 (18:31 +0200)
commit257dfb410070b48e377c7894222b73ca41d662e0
tree14efd882bcc99d6e23129ab1794a1709fe73a617
parent0401e8548eace5bdb8adfa3e82f56165982cb3ad
ALSA: hda - Get rid of superfluous beep->mode field

It's no longer necessary since beep_mode=2 option was dropped.
It can be checked simply via codec->beep != NULL.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_beep.c
sound/pci/hda/hda_beep.h