OSDN Git Service

ALSA: opl4: Use IS_REACHABLE()
authorTakashi Iwai <tiwai@suse.de>
Fri, 12 May 2017 09:52:06 +0000 (11:52 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 17 May 2017 05:13:05 +0000 (07:13 +0200)
commit2e2d4cb450e951b90629b3f988c48ed01c69c1ac
treefb2ebb2d39d71572d2694e48be4b1ebc31bb66a9
parent88faa38435cbfdf3e733a670a009683eb7057cdc
ALSA: opl4: Use IS_REACHABLE()

Rewrite the complex ifdef condition with IS_REACHABLE().
The ifdef in opl4_local.h was without defined(MODLE) check, but this
is likely the oversight.  Use IS_REACHABLE() here as well.

Acked-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/opl4/opl4_lib.c
sound/drivers/opl4/opl4_local.h