tty: serial: jsm: fix two assignments in if conditions
authorAlexander Vorwerk <alexander.vorwerk@stud.uni-goettingen.de>
Tue, 15 Mar 2022 02:07:45 +0000 (03:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Mar 2022 12:15:50 +0000 (13:15 +0100)
commitb0db9263b0d599dbc4cf2b5679f873d937c60591
tree01137303a3b84a9d5a92d3c7e736f7daeb167670
parent168b504bc1d2c4df352bd5bf5e6853aff0d229c9
tty: serial: jsm: fix two assignments in if conditions

Fixes two warnings reported of the form
"ERROR: do not use assignment in if condition"
reported by checkpatch.pl.

Signed-off-by: Alexander Vorwerk <alexander.vorwerk@stud.uni-goettingen.de>
Link: https://lore.kernel.org/r/20220315020745.15752-1-alexander.vorwerk@stud.uni-goettingen.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/jsm/jsm_neo.c
drivers/tty/serial/jsm/jsm_tty.c