[alsa-devel] [PATCH] ALSA: emu10k1_patch: Use swap macro in snd_emu10k1_sample_new

Takashi Iwai tiwai at suse.de
Tue Jul 17 17:18:14 CEST 2018


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 at embeddedor.com>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list