From: Martin Kaiser Date: Wed, 11 Jan 2023 19:56:35 +0000 (+0100) Subject: staging: r8188eu: remove struct io_req X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=944a7a7ab86aecf8f59be045f716dcdf3a273b1e;p=linux.git staging: r8188eu: remove struct io_req struct io_req is not needed in the r8188eu driver. Remove it. Signed-off-by: Martin Kaiser Tested-by: Philipp Hortmann # Edimax N150 Link: https://lore.kernel.org/r/20230111195640.306748-16-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/r8188eu/include/rtw_io.h b/drivers/staging/r8188eu/include/rtw_io.h index 749bb1d0eeed0..900ed2c648d4a 100644 --- a/drivers/staging/r8188eu/include/rtw_io.h +++ b/drivers/staging/r8188eu/include/rtw_io.h @@ -25,20 +25,6 @@ struct intf_priv; struct intf_hdl; -struct io_req { - struct list_head list; - u32 addr; - u32 val; - u32 command; - u32 status; - u8 *pbuf; - struct semaphore sema; - - void (*_async_io_callback)(struct adapter *padater, - struct io_req *pio_req, u8 *cnxt); - u8 *cnxt; -}; - struct intf_hdl { struct adapter *padapter; struct dvobj_priv *pintf_dev;