pcmcia: comment out unused exca_readw() function
authorDominik Brodowski <linux@dominikbrodowski.net>
Sun, 2 Jan 2022 17:39:12 +0000 (18:39 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Sun, 2 Jan 2022 17:39:12 +0000 (18:39 +0100)
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>
drivers/pcmcia/yenta_socket.c

index e472da29d401c333729ac68b6f660c27670a0b27..e7ec3ea23db94967923ecd8635af26c435f21a3e 100644 (file)
@@ -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)
 {