diff options
author | Jeremy Sowden <jeremy@azazel.net> | 2019-06-13 10:23:58 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-13 11:39:30 +0200 |
commit | c77a6794c0fe543df7226ab045e0f507a0b24aee (patch) | |
tree | 22507c4f51ad153ccef2d5085a370372f73fcef2 /drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h | |
parent | staging: kpc2000: remove unnecessary comments in kp2000_pcie_probe (diff) | |
download | linux-dev-c77a6794c0fe543df7226ab045e0f507a0b24aee.tar.xz linux-dev-c77a6794c0fe543df7226ab045e0f507a0b24aee.zip |
staging: kpc2000: removed DMA AIO implementation.
The existing implementation for doing DMA via asynchronous IO didn't
work and there was no longer a use-case for it. Removed it.
Fixed a few checkpatch warnings about too-long lines and extraneous
braces in the process.
Reported-by: Matt Sickler <matt.sickler@daktronics.com>
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h')
-rw-r--r-- | drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h b/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h index ee47f43e71cf..4c8cc866b826 100644 --- a/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h +++ b/drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h @@ -14,7 +14,6 @@ #include <linux/pci.h> #include <linux/interrupt.h> #include <linux/workqueue.h> -#include <linux/aio.h> #include <linux/bitops.h> #include "../kpc.h" @@ -87,7 +86,6 @@ struct aio_cb_data { struct kpc_dma_device *ldev; struct completion *cpl; unsigned char flags; - struct kiocb *kcb; size_t len; unsigned int page_count; |