commit | 79f439ea4007b94beeb8ba1e00e71f9d128b0f90 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Jan 31 16:46:44 2017 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Fri Feb 03 17:34:17 2017 +0100 |
tree | f5e9434030e63abc015d9d90533d862b4e214f45 | |
parent | caa2a61a702a2a391b2fb695fc245ca5b8a4ffd8 [diff] |
ALSA: x86: Drop had_get_hwstate() 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: Takashi Iwai <tiwai@suse.de>