sx8: cleanup queue and disk allocation / freeing
authorChristoph Hellwig <hch@lst.de>
Fri, 9 Nov 2018 13:51:09 +0000 (14:51 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 9 Nov 2018 15:14:12 +0000 (08:14 -0700)
commitcd94c9ed59bad76e68d1c8910fc564351ce2162c
tree9695aca87af7b5980ad87661fa081e2231acb23c
parentab11fe5af1049598d1ff73014f3ea65663246a6e
sx8: cleanup queue and disk allocation / freeing

Make the disk/queue alloc and free helpers per-port by moving the
trivial loops into the callers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/sx8.c