Home
last modified time | relevance | path

Searched hist:"3805 e6a1" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/sound/i2c/other/
H A Dak4117.c3805e6a1 Tue Jul 12 05:22:40 CDT 2016 Colin Ian King <colin.king@canonical.com> ALSA: ak4117: remove redundant check on err being < 0

snd_ak4117_create checks if the error return err is less than zero
or not. This is a redundant check, err can only be < 0 to get to
the __fail label, in which case just return err and remove the
redundant check (since we never return -EIO).

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
3805e6a1 Tue Jul 12 05:22:40 CDT 2016 Colin Ian King <colin.king@canonical.com> ALSA: ak4117: remove redundant check on err being < 0

snd_ak4117_create checks if the error return err is less than zero
or not. This is a redundant check, err can only be < 0 to get to
the __fail label, in which case just return err and remove the
redundant check (since we never return -EIO).

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>