OSDN Git Service

s390/qdio: clean up pci_out_supported()
authorJulian Wiedmann <jwi@linux.ibm.com>
Tue, 30 Oct 2018 07:19:54 +0000 (08:19 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 29 Mar 2019 06:23:49 +0000 (07:23 +0100)
commitf85b2b297c16b6d9fa8d9f2f26b73b5571dfb859
treec169467649d933f6dffc46f7b66478adaccc478a
parent2cc9637ce825f3a9f51f8f78af7474e9e85bfa5f
s390/qdio: clean up pci_out_supported()

pci_out_supported() currently takes a single queue as parameter, even
though Output IRQ support is a per-device feature. Adjust the parameter,
so that the macro can also be used in code paths with no access to a queue
struct. This allows us to remove the remaining open-coded checks for
QIB_AC_OUTBOUND_PCI_SUPPORTED.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Benjamin Block <bblock@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/qdio.h
drivers/s390/cio/qdio_main.c
drivers/s390/cio/qdio_setup.c