]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: emu8000: Use swap macro in snd_emu8000_sample_new
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 17 Jul 2018 15:06:10 +0000 (10:06 -0500)
committerTakashi Iwai <tiwai@suse.de>
Tue, 17 Jul 2018 15:18:03 +0000 (17:18 +0200)
commitc24189ad4df10c8dd28d8445951c226bf38e4bb9
treefef7bf1a48f41f6d3acb9509fed752f771f496bd
parentde16882a59546ef8f185ddb4885f4d8d9dcff620
ALSA: emu8000: Use swap macro in snd_emu8000_sample_new

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@embeddedor.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/sb/emu8000_patch.c