s390/fs3270: remove duplicate assignment
authorSven Schnelle <svens@linux.ibm.com>
Mon, 5 Dec 2022 09:30:48 +0000 (10:30 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 9 Jan 2023 13:34:05 +0000 (14:34 +0100)
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>
drivers/s390/char/fs3270.c

index 1b7df92..836c09a 100644 (file)
@@ -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