Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1256950

[PATCH 2/8] cyclades: Deinline cyy_writeb, save 880 bytes

From Denys Vlasenko <dvlasenk@redhat.com>
Newsgroups linux.kernel
Subject [PATCH 2/8] cyclades: Deinline cyy_writeb, save 880 bytes
Date 2015-10-27 17:50 +0100
Message-ID <qofBG-7xc-63@gated-at.bofh.it> (permalink)
References <qofBE-7xc-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This function compiles to 35 bytes of machine code.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
CC: Peter Hurley <peter@hurleysoftware.com>
CC: Jiri Slaby <jslaby@suse.com>
CC: linux-serial@vger.kernel.org
---
 drivers/tty/cyclades.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/cyclades.c b/drivers/tty/cyclades.c
index cf81fbc..7f9f635 100644
--- a/drivers/tty/cyclades.c
+++ b/drivers/tty/cyclades.c
@@ -292,7 +292,7 @@ static void cyz_rx_restart(unsigned long);
 static struct timer_list cyz_rx_full_timer[NR_PORTS];
 #endif				/* CONFIG_CYZ_INTR */
 
-static inline void cyy_writeb(struct cyclades_port *port, u32 reg, u8 val)
+static void cyy_writeb(struct cyclades_port *port, u32 reg, u8 val)
 {
 	struct cyclades_card *card = port->card;
 
-- 
1.8.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/8] drivers/tty/: Deinline functions when it saves at least 300 bytes per function Denys Vlasenko <dvlasenk@redhat.com> - 2015-10-27 17:50 +0100
  [PATCH 2/8] cyclades: Deinline cyy_writeb, save 880 bytes Denys Vlasenko <dvlasenk@redhat.com> - 2015-10-27 17:50 +0100
  [PATCH 8/8] tty/tty_ldisc: Deinline tty_ldisc_put, save 368 bytes Denys Vlasenko <dvlasenk@redhat.com> - 2015-10-27 17:50 +0100
  Re: [PATCH 0/8] drivers/tty/: Deinline functions when it saves at  least 300 bytes per function Peter Hurley <peter@hurleysoftware.com> - 2015-10-27 18:10 +0100

csiph-web