mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
mfd: rave-sp: Avoid unnecessary use of comma operator
Although it does not seem to have any untoward side-effects, the use of ';' to separate to assignments seems more appropriate than ','. Flagged by clang-17 -Wcomma No functional change intended. Compile tested only. Signed-off-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
This commit is contained in:
@@ -358,7 +358,7 @@ int rave_sp_exec(struct rave_sp *sp,
|
||||
|
||||
ackid = atomic_inc_return(&sp->ackid);
|
||||
reply.ackid = ackid;
|
||||
reply.code = rave_sp_reply_code((u8)command),
|
||||
reply.code = rave_sp_reply_code((u8)command);
|
||||
|
||||
mutex_lock(&sp->bus_lock);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user