[PATCH 0/6] ALSA: core: Fine-tuning for some function implementations

From: SF Markus Elfring
Date: Wed Aug 23 2017 - 04:22:57 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 23 Aug 2017 10:05:43 +0200

Some update suggestions were taken into account
from static source code analysis.

Markus Elfring (6):
pcm: Use common error handling code in _snd_pcm_new()
pcm: Adjust nine function calls together with a variable assignment
pcm: Adjust 11 checks for null pointers
timer: Use common error handling code in alsa_timer_init()
timer: Adjust a condition check in snd_timer_resolution()
timer: Adjust 13 checks for null pointers

sound/core/pcm.c | 90 +++++++++++++++++++++++++++++++-----------------------
sound/core/timer.c | 39 ++++++++++++-----------
2 files changed, 73 insertions(+), 56 deletions(-)

--
2.14.0