[alsa-devel] [PATCH] ALSA: emu8000: Use swap macro in snd_emu8000_sample_new

Takashi Iwai tiwai at suse.de
Tue Jul 17 17:19:49 CEST 2018


On Tue, 17 Jul 2018 17:06:10 +0200,
 Gustavo A. R. Silva  wrote:
> 
> Make use of the swap macro and remove unnecessary variable *tmp*. This
> makes the code easier to read and maintain.
> 
> This code was detected with the help of Coccinelle.
> 
> Signed-off-by: Gustavo A. R. Silva <gustavo at embeddedor.com>

Applied, thanks.

(BTW one of your addresses in Cc was a typo; removed in this reply)


Takashi


More information about the Alsa-devel mailing list