summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSven Schnelle <svens@linux.ibm.com>2022-12-05 10:30:48 +0100
committerHeiko Carstens <hca@linux.ibm.com>2023-01-09 14:34:05 +0100
commitaa08b6a46b6060cab0de44f1b1db58fcc867b60f (patch)
treef6b8e720f5774c9129a3f5447594b904c03ff5b1 /drivers
parent945775155e21097cacb60ed182f7eb348bb8ef24 (diff)
downloadlinux-stable-aa08b6a46b6060cab0de44f1b1db58fcc867b60f.tar.gz
linux-stable-aa08b6a46b6060cab0de44f1b1db58fcc867b60f.tar.bz2
linux-stable-aa08b6a46b6060cab0de44f1b1db58fcc867b60f.zip
s390/fs3270: remove duplicate assignment
remove a duplicate assignment reported by checkpatch. Signed-off-by: Sven Schnelle <svens@linux.ibm.com> Acked-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/s390/char/fs3270.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/s390/char/fs3270.c b/drivers/s390/char/fs3270.c
index 1b7df920ae10..836c09a47860 100644
--- a/drivers/s390/char/fs3270.c
+++ b/drivers/s390/char/fs3270.c
@@ -149,7 +149,8 @@ fs3270_activate(struct raw3270_view *view)
fp->init->rescnt = 0;
fp->init->callback = fs3270_restore_callback;
}
- rc = fp->init->rc = raw3270_start_locked(view, fp->init);
+ rc = raw3270_start_locked(view, fp->init);
+ fp->init->rc = rc;
if (rc)
fp->init->callback(fp->init, NULL);
else