]> asedeno.scripts.mit.edu Git - linux.git/commit
s390/qdio: clean up AOB handling
authorJulian Wiedmann <jwi@linux.ibm.com>
Tue, 15 May 2018 19:17:38 +0000 (21:17 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 20 Sep 2018 11:20:29 +0000 (13:20 +0200)
commitccc413f621432fcb5dabb751d42148795f59a816
tree578fd382a0851544422502e127359f56c61c691b
parent4e62d458850069c9f05e03f99be1a817967e201f
s390/qdio: clean up AOB handling

I've stumbled over this too many times now... AOBs are only ever used on
Output Queues. So in qdio_kick_handler(), move the call to their handler
into the Output-only path, and get rid of the convoluted contains_aobs()
helper. No functional change.

While at it, also remove
1. the unused sbal_state->aob field. For processing an async completion,
   upper-layer drivers get their AOB pointer from the CQ buffer.
2. an unused EXPORT for qdio_allocate_aob(). External users would have
   no way of passing an allocated AOB back into qdio.ko anyways...

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