summary refs log tree commit diff
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
parent3daaf2c7aae8f16845a59b57d3ae92e3d0965d21 (diff)
downloadlinux-468c14d82c931073b759e03e421788f5dbb9ad45.tar.gz
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>
-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)
 {