]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5d3810861d2fac622e5fe7901a419497e8e86f16
treec169467649d933f6dffc46f7b66478adaccc478a
parenta777b9b25bec8abdc399e7fc13ce07d820d8b581
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