staging: r8188eu: remove struct io_req
authorMartin Kaiser <martin@kaiser.cx>
Wed, 11 Jan 2023 19:56:35 +0000 (20:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 18:37:27 +0000 (19:37 +0100)
struct io_req is not needed in the r8188eu driver. Remove it.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20230111195640.306748-16-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/include/rtw_io.h

index 749bb1d..900ed2c 100644 (file)
 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;