Commit f2351984 authored by Lourdes Pedrajas's avatar Lourdes Pedrajas Committed by Greg Kroah-Hartman

staging: speakup: main: switch multiple assignment for one assignment per line

One assignment per line is preferred, instead of multiple assignments.
To make it more readable.
Issue found with checkpatch.
Signed-off-by: default avatarLourdes Pedrajas <lu@pplo.net>
Reviewed-by: default avatarSamuel Thibautl <samuel.thibault@ens-lyon.org>
Link: https://lore.kernel.org/r/20200315221247.16629-1-lu@pplo.netSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 963399b2
...@@ -2117,7 +2117,8 @@ speakup_key(struct vc_data *vc, int shift_state, int keycode, u_short keysym, ...@@ -2117,7 +2117,8 @@ speakup_key(struct vc_data *vc, int shift_state, int keycode, u_short keysym,
spk_keydown = 0; spk_keydown = 0;
goto out; goto out;
} }
value = spk_lastkey = pad_chars[value]; value = pad_chars[value];
spk_lastkey = value;
spk_keydown++; spk_keydown++;
spk_parked &= 0xfe; spk_parked &= 0xfe;
goto no_map; goto no_map;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment