OSDN Git Service

s390/qdio: clean up cdev access in qdio_setup_irq()
authorJulian Wiedmann <jwi@linux.ibm.com>
Mon, 10 Feb 2020 13:56:41 +0000 (14:56 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 19 Feb 2020 16:27:24 +0000 (17:27 +0100)
commitdd62abd2d84d8fe09c644a7407a34c22cb3d43be
tree6abfc2d886b89fe5afb39903efad4a2eb059269e
parentc4f762ff6b7766e0053e39d1d87d599384288048
s390/qdio: clean up cdev access in qdio_setup_irq()

Some parts use init_data->cdev, others use irq_ptr->cdev. In the end
it's all the same, but unnecessarily confusing.

Use a single reference instead.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Steffen Maier <maier@linux.ibm.com>
Reviewed-by: Benjamin Block <bblock@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/cio/qdio_setup.c