Commit 61eb0402 authored by Thorsten Blum's avatar Thorsten Blum Committed by Geert Uytterhoeven
Browse files

m68k: cmpxchg: Use swap() to improve code



Remove the local variable tmp and use the swap() macro instead.

Signed-off-by: default avatarThorsten Blum <thorsten.blum@toblux.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/20240730234506.492743-2-thorsten.blum@toblux.com


Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent 8400291e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment