aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/pcmcia/yenta_socket.c
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2022-01-02 18:39:12 +0100
committerDominik Brodowski <linux@dominikbrodowski.net>2022-01-02 18:39:12 +0100
commit468c14d82c931073b759e03e421788f5dbb9ad45 (patch)
tree8ab4d54aed1b8ca8678cb017455ce796669d3c90 /drivers/pcmcia/yenta_socket.c
parentpcmcia: Make use of the helper macro SET_NOIRQ_SYSTEM_SLEEP_PM_OPS() (diff)
downloadwireguard-linux-468c14d82c931073b759e03e421788f5dbb9ad45.tar.xz
wireguard-linux-468c14d82c931073b759e03e421788f5dbb9ad45.zip
pcmcia: comment out unused exca_readw() function
The exca_readw() function is currently unused; therefore, comment it out. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/yenta_socket.c')
-rw-r--r--drivers/pcmcia/yenta_socket.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pcmcia/yenta_socket.c b/drivers/pcmcia/yenta_socket.c
index e472da29d401..e7ec3ea23db9 100644
--- a/drivers/pcmcia/yenta_socket.c
+++ b/drivers/pcmcia/yenta_socket.c
@@ -144,6 +144,7 @@ static inline u8 exca_readb(struct yenta_socket *socket, unsigned reg)
return val;
}
+/*
static inline u8 exca_readw(struct yenta_socket *socket, unsigned reg)
{
u16 val;
@@ -152,6 +153,7 @@ static inline u8 exca_readw(struct yenta_socket *socket, unsigned reg)
debug("%04x %04x\n", socket, reg, val);
return val;
}
+*/
static inline void exca_writeb(struct yenta_socket *socket, unsigned reg, u8 val)
{