Re: [PATCH 09/10] staging: r8188eu: remove unused members of struct _io_ops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/21/21 6:48 PM, Martin Kaiser wrote:
Remove function pointers which are not used by the r8188eu driver.

Signed-off-by: Martin Kaiser <martin@xxxxxxxxx>
---
  drivers/staging/r8188eu/include/rtw_io.h | 3 ---
  1 file changed, 3 deletions(-)

diff --git a/drivers/staging/r8188eu/include/rtw_io.h b/drivers/staging/r8188eu/include/rtw_io.h
index f1b3074fa075..4b41c7b03972 100644
--- a/drivers/staging/r8188eu/include/rtw_io.h
+++ b/drivers/staging/r8188eu/include/rtw_io.h
@@ -100,13 +100,10 @@ struct _io_ops {
  			  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);
  };


Looks good to me.

Acked-by: Michael Straube <straube.linux@xxxxxxxxx>

Thanks,
Michael




[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux