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: Lourdes Pedrajas <lu@pplo.net>
Reviewed-by: Samuel Thibautl <samuel.thibault@ens-lyon.org>
Link: https://lore.kernel.org/r/20200315221247.16629-1-lu@pplo.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Lourdes Pedrajas 2020-03-15 23:12:47 +01:00 committed by Greg Kroah-Hartman
parent 963399b2c2
commit f23519843b
1 changed files with 2 additions and 1 deletions

View File

@ -2117,7 +2117,8 @@ speakup_key(struct vc_data *vc, int shift_state, int keycode, u_short keysym,
spk_keydown = 0;
goto out;
}
value = spk_lastkey = pad_chars[value];
value = pad_chars[value];
spk_lastkey = value;
spk_keydown++;
spk_parked &= 0xfe;
goto no_map;