From c77a6794c0fe543df7226ab045e0f507a0b24aee Mon Sep 17 00:00:00 2001 From: Jeremy Sowden Date: Thu, 13 Jun 2019 10:23:58 +0100 Subject: 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 Signed-off-by: Jeremy Sowden Signed-off-by: Greg Kroah-Hartman --- drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h') 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 #include #include -#include #include #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; -- cgit v1.2.3-59-g8ed1b