Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc3ac5ff authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

s390/3270: remove unnecessary pointer check



Make smatch happy and remove this warning:

drivers/s390/char/raw3270.c:347 raw3270_irq() error: we previously
 assumed 'rq' could be null (see line 342)

Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 3cf11d77
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -615,7 +615,7 @@ raw3270_reset_device_cb(struct raw3270_request *rq, void *data)

	if (rp->state != RAW3270_STATE_RESET)
		return;
	if (rq && rq->rc) {
	if (rq->rc) {
		/* Reset command failed. */
		rp->state = RAW3270_STATE_INIT;
	} else if (0 && MACHINE_IS_VM) {