diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-01-25 17:31:59 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-01-25 17:31:59 +0100 |
commit | 315d9f1bee40b20d399176acb1e27036abbd4384 (patch) | |
tree | 27e1eeac30651f04c20919864b94cc3653f03fd1 /mm/hugetlb.c | |
parent | ALSA: fireface: Off by one in latter_handle_midi_msg() (diff) | |
download | linux-315d9f1bee40b20d399176acb1e27036abbd4384.tar.xz linux-315d9f1bee40b20d399176acb1e27036abbd4384.zip |
ALSA: pcm: Use the common error path in __snd_pcm_lib_xfer()
An open-coded error path in __snd_pcm_lib_xfer() can be replaced with
the simple goto to the common error path. This also makes the error
handling more consistent, i.e. when some samples have been already
processed, return that size instead of the error code.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions