• Takashi Iwai's avatar
    ALSA: x86: Drop had_get_hwstate() · 79f439ea
    Takashi Iwai authored
    The helper function isn't clearer than the plain condition check
    "if (drv_status == HDA_DRV_DISCONNECTED)".  By expanding this, the
    compiler could even catch the possible uninitialized cases, so we
    could fix them, too.
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    79f439ea
intel_hdmi_audio.c 59.5 KB