Re: [PATCH] ALSA: emu10k1_patch: Use swap macro in snd_emu10k1_sample_new

From: Takashi Iwai
Date: Tue Jul 17 2018 - 11:18:21 EST


On Tue, 17 Jul 2018 17:00:43 +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@xxxxxxxxxxxxxx>

Applied, thanks.


Takashi