ALSA: hda - Optimize audio component check in patch_hdmi.c
authorTakashi Iwai <tiwai@suse.de>
Thu, 10 Dec 2015 12:01:28 +0000 (13:01 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 10 Dec 2015 12:01:28 +0000 (13:01 +0100)
commitf4e3040bf0e94ff86ba2c970a4d7691100dc69d5
tree9caca90ea8074e8753c709309a8cc181503a3cd8
parentc83d1b37d45a2ecaea7a6ba4ea010f717bdb2740
ALSA: hda - Optimize audio component check in patch_hdmi.c

The audio component is enabled only when CONFIG_SND_HDA_I915 is set.
Give a dummy macro for allowing the compiler optimize out the relevant
codes when this Kconfig isn't set.

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