diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2015-10-27 19:39:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-14 06:59:48 +0300 |
commit | f88d86831b69be7d2ad1ac1ba80af386139e76af (patch) | |
tree | d4a7f8ae73851008b994d844c93bc140bf780c7b /drivers/tty/cyclades.c | |
parent | 4828d5c30a2e1d300f7ca7c15868cead2ef7fb29 (diff) | |
download | linux-f88d86831b69be7d2ad1ac1ba80af386139e76af.tar.xz |
cyclades: Deinline cyy_readb, save 368 bytes
This function compiles to 32 bytes of machine code.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
CC: Jiri Slaby <jslaby@suse.com>
CC: linux-serial@vger.kernel.org
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/cyclades.c')
-rw-r--r-- | drivers/tty/cyclades.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/cyclades.c b/drivers/tty/cyclades.c index d4a1331675ed..9600aa34e19e 100644 --- a/drivers/tty/cyclades.c +++ b/drivers/tty/cyclades.c @@ -299,7 +299,7 @@ static inline void cyy_writeb(struct cyclades_port *port, u32 reg, u8 val) cy_writeb(port->u.cyy.base_addr + (reg << card->bus_index), val); } -static inline u8 cyy_readb(struct cyclades_port *port, u32 reg) +static u8 cyy_readb(struct cyclades_port *port, u32 reg) { struct cyclades_card *card = port->card; |