From: Martin Kaiser Date: Wed, 11 Jan 2023 19:56:27 +0000 (+0100) Subject: staging: r8188eu: remove attrib function prototypes X-Git-Tag: v6.6.7~3436^2~135 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a7c91d459058f28ab9ca8b87d18244d459aa103;p=platform%2Fkernel%2Flinux-starfive.git staging: r8188eu: remove attrib function prototypes Remove the prototypes for attrib read and write functions which are not present in the r8188eu driver. Signed-off-by: Martin Kaiser Tested-by: Philipp Hortmann # Edimax N150 Link: https://lore.kernel.org/r/20230111195640.306748-8-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 7d1f3cc..9cf4f233 100644 --- a/drivers/staging/r8188eu/include/rtw_io.h +++ b/drivers/staging/r8188eu/include/rtw_io.h @@ -190,9 +190,6 @@ struct reg_protocol_wt { uint register_intf_hdl(u8 *dev, struct intf_hdl *pintfhdl); void unregister_intf_hdl(struct intf_hdl *pintfhdl); -void _rtw_attrib_read(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); -void _rtw_attrib_write(struct adapter *adapter, u32 addr, u32 cnt, u8 *pmem); - int __must_check rtw_read8(struct adapter *adapter, u32 addr, u8 *data); int __must_check rtw_read16(struct adapter *adapter, u32 addr, u16 *data); int __must_check rtw_read32(struct adapter *adapter, u32 addr, u32 *data);