Received: from mail-4322.protonmail.ch (mail-4322.protonmail.ch [185.70.43.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8A2593FC1 for ; Sun, 22 Aug 2021 20:44:05 +0000 (UTC) Date: Sun, 22 Aug 2021 20:43:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bryanbrattlof.com; s=protonmail; t=1629665043; bh=CnGDwMCmb3wl+up2ny2MnsRvSz1XHCXVpk2rgvjWGyc=; h=Date:To:From:Cc:Reply-To:Subject:From; b=bnLkQRhqoWCQ+tlryHk2CEqVwMK02+yXP5FtC/US212FM0R6LxVGXPXV/G15+YhYc tlzuWoXUPVkKSVio3Gmv20dLR4ze1UIYsH82iuh390Sog79Ht89ZKvC6vtzgYCTs0r b2PytW3DWj0MCiMkMvcS8ut2EPfFKAgWQqoumC9tw7Rx1WaD1Ps450M9MkQ2wesoI+ IcrvrZga6VIIrCzu5Kr7lUnDVUzoUj+7qvw2vzZxzzCcs3U1ylKwhzDue/WJAKJ1IW 8i23LyuUXLQW+IU5CBJthQgAAD7i5IvE2/CuToZzwNh65wsCpznjfBRccnEYodKaKo hc3C8H4Z7oa6g== To: Greg Kroah-Hartman From: Bryan Brattlof Cc: "Fabio M. De Francesco" , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Bryan Brattlof Reply-To: Bryan Brattlof Subject: [PATCH v2 5/5] staging: rtl8723bs: remove _read_port from _io_ops structure Message-ID: <20210822204212.2832397-6-hello@bryanbrattlof.com> Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch The function pointer, '_read_port' inside _io_ops is unused. We can remove it. Signed-off-by: Bryan Brattlof --- drivers/staging/rtl8723bs/hal/sdio_ops.c | 1 - drivers/staging/rtl8723bs/include/rtw_io.h | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/sdio_ops.c b/drivers/staging/rtl= 8723bs/hal/sdio_ops.c index 928fa109565e..768a4e553c77 100644 --- a/drivers/staging/rtl8723bs/hal/sdio_ops.c +++ b/drivers/staging/rtl8723bs/hal/sdio_ops.c @@ -355,7 +355,6 @@ void sdio_set_intf_ops(struct adapter *adapter, struct = _io_ops *ops) =09ops->_read8 =3D &sdio_read8; =09ops->_read16 =3D &sdio_read16; =09ops->_read32 =3D &sdio_read32; -=09ops->_read_port =3D &sdio_read_port; =09ops->_write8 =3D &sdio_write8; =09ops->_write16 =3D &sdio_write16; diff --git a/drivers/staging/rtl8723bs/include/rtw_io.h b/drivers/staging/r= tl8723bs/include/rtw_io.h index fa0cedadaa79..4e0a9f71ce1f 100644 --- a/drivers/staging/rtl8723bs/include/rtw_io.h +++ b/drivers/staging/rtl8723bs/include/rtw_io.h @@ -83,7 +83,6 @@ struct _io_ops { =09=09int (*_write16)(struct intf_hdl *pintfhdl, u32 addr, u16 val); =09=09int (*_write32)(struct intf_hdl *pintfhdl, u32 addr, u32 val); -=09=09u32 (*_read_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *= pmem); =09=09u32 (*_write_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 = *pmem); }; -- 2.30.2