diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2024-04-01 21:58:50 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2024-04-09 22:06:00 -0700 |
commit | 2f528020a29021a9e5da1b85488993e8d9808a38 (patch) | |
tree | 52b0fdaf341aa735b39fa9158356d68e5e927e85 /kernel/watchdog.c | |
parent | 39cd87c4eb2b893354f3b850f916353f2658ae6f (diff) |
sparc32: make __cmpxchg_u32() return u32
Conversion between u32 and unsigned long is tautological there,
and the only use of return value is to return it from
__cmpxchg() (which return unsigned long).
Get rid of explicit casts in __cmpxchg_u32() call, while we are
at it - normal conversions for arguments will do just fine.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/watchdog.c')
0 files changed, 0 insertions, 0 deletions