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

Gustavo A. R. Silva gustavo at embeddedor.com
Tue Jul 17 17:35:08 CEST 2018



On 07/17/2018 10:19 AM, Takashi Iwai wrote:
> 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)
> 

Thanks!
--
Gustavo


More information about the Alsa-devel mailing list