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

From: Phillip Potter
Date: Sat Aug 21 2021 - 13:30:06 EST


On Sat, 21 Aug 2021 at 17:50, Martin Kaiser <martin@xxxxxxxxx> 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);
> };
> --
> 2.20.1
>

Acked-by: Phillip Potter <phil@xxxxxxxxxxxxxxxx>

Regards,
Phil