]> 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)
commitb7956df935d1a3eeb56ae3f1988622302b9b3a9b
treec169467649d933f6dffc46f7b66478adaccc478a
parentb271b13e2ad98879d275f1e96b8a32bbdafb593f
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