m68k: cmpxchg: Use swap() to improve code
Remove the local variable tmp and use the swap() macro instead. Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/20240730234506.492743-2-thorsten.blum@toblux.comSigned-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Showing
Please register or sign in to comment