s390/raw3270: fix nullpointer check
authorSven Schnelle <svens@linux.ibm.com>
Mon, 5 Dec 2022 09:01:38 +0000 (10:01 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 9 Jan 2023 13:34:04 +0000 (14:34 +0100)
commit31bc23241b54b23fb880db6f5e16a443ab44e5d0
tree5532e3c1eea6947f60509b4ad5f53e4fef3645d0
parent420105f4506be36c5b1fcb1f0b5e8fe03f962238
s390/raw3270: fix nullpointer check

Fix the following checkpatch warning:

CHECK: Comparison to NULL could be written "!rp"
+       if (rp == NULL)

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/raw3270.c