diff mbox

ALSA: hda/realtek - Remove GPIO_MASK

Message ID 20170703092650.30284-1-kai.heng.feng@canonical.com (mailing list archive)
State New, archived
Headers show

Commit Message

Kai-Heng Feng July 3, 2017, 9:26 a.m. UTC
GPIO_MASK was introduced in commit "df694daa3c01 [ALSA] hda-codec - Add
the support of ALC262,ALC883,ALC885,ALC861" but it's not being used. So
we can simply remove it.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
---
 sound/pci/hda/patch_realtek.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Takashi Iwai July 3, 2017, 10:19 a.m. UTC | #1
On Mon, 03 Jul 2017 11:26:50 +0200,
Kai-Heng Feng wrote:
> 
> GPIO_MASK was introduced in commit "df694daa3c01 [ALSA] hda-codec - Add
> the support of ALC262,ALC883,ALC885,ALC861" but it's not being used. So
> we can simply remove it.
> 
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>

Applied, thanks.


Takashi
diff mbox

Patch

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index c79491a1cd47..425a4abd8ad0 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -41,9 +41,6 @@ 
 /* keep halting ALC5505 DSP, for power saving */
 #define HALT_REALTEK_ALC5505
 
-/* for GPIO Poll */
-#define GPIO_MASK	0x03
-
 /* extra amp-initialization sequence types */
 enum {
 	ALC_INIT_NONE,