From 972b1c23e2943fce2b5a4b79b2a06fb3cdf85133 Mon Sep 17 00:00:00 2001 From: Martin Kaiser Date: Sat, 21 Aug 2021 18:48:58 +0200 Subject: [PATCH] remove unused members of struct _io_ops Remove function pointers which are not used by the r8188eu driver. Link: https://lore.kernel.org/r/20210821164859.4351-9-martin@kaiser.cx --- include/rtw_io.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/rtw_io.h b/include/rtw_io.h index cafb12d..1beec27 100644 --- a/include/rtw_io.h +++ b/include/rtw_io.h @@ -106,15 +106,11 @@ struct _io_ops { void (*_read_mem)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); void (*_write_mem)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); - void (*_sync_irp_protocol_rw)(struct io_queue *pio_q); - u32(*_read_interrupt)(struct intf_hdl *pintfhdl, u32 addr); u32(*_read_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); u32(*_write_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem); - u32(*_write_scsi)(struct intf_hdl *pintfhdl, u32 cnt, u8 *pmem); - void (*_read_port_cancel)(struct intf_hdl *pintfhdl); void (*_write_port_cancel)(struct intf_hdl *pintfhdl);