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


Groups > linux.kernel > #1257053

[PATCH 01/15] cyclades: Deinline cyz_is_loaded, save 240 bytes

From Denys Vlasenko <dvlasenk@redhat.com>
Newsgroups linux.kernel
Subject [PATCH 01/15] cyclades: Deinline cyz_is_loaded, save 240 bytes
Date 2015-10-27 18:50 +0100
Message-ID <qogxJ-87V-47@gated-at.bofh.it> (permalink)
References <qogxH-87V-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This function compiles to 58 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 87f6578..1492938 100644
--- a/drivers/tty/cyclades.c
+++ b/drivers/tty/cyclades.c
@@ -321,7 +321,7 @@ static inline bool cyz_fpga_loaded(struct cyclades_card *card)
 	return __cyz_fpga_loaded(card->ctl_addr.p9060);
 }
 
-static inline bool cyz_is_loaded(struct cyclades_card *card)
+static bool cyz_is_loaded(struct cyclades_card *card)
 {
 	struct FIRM_ID __iomem *fw_id = card->base_addr + ID_ADDRESS;
 
-- 
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 00/15] drivers/tty/: Deinline smaller/less used functions Denys Vlasenko <dvlasenk@redhat.com> - 2015-10-27 18:50 +0100
  [PATCH 01/15] cyclades: Deinline cyz_is_loaded, save 240 bytes Denys Vlasenko <dvlasenk@redhat.com> - 2015-10-27 18:50 +0100
    Re: [PATCH 01/15] cyclades: Deinline cyz_is_loaded, save 240 bytes Peter Hurley <peter@hurleysoftware.com> - 2015-10-27 19:20 +0100
  [PATCH 02/15] isicom: Deinline drop_dtr, save 112 bytes Denys Vlasenko <dvlasenk@redhat.com> - 2015-10-27 18:50 +0100
    Re: [PATCH 02/15] isicom: Deinline drop_dtr, save 112 bytes Peter Hurley <peter@hurleysoftware.com> - 2015-10-27 19:20 +0100
  [PATCH 08/15] serial/omap-serial: Deinline wait_for_xmitr, save 165 bytes Denys Vlasenko <dvlasenk@redhat.com> - 2015-10-27 18:50 +0100
  Re: [PATCH 00/15] drivers/tty/: Deinline smaller/less used functions Peter Hurley <peter@hurleysoftware.com> - 2015-10-27 19:20 +0100

csiph-web