diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2015-10-27 13:46:33 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-13 22:59:48 -0500 |
commit | 1c82363eef25420f41a49a53cda9f0f9e513bb38 (patch) | |
tree | e373af703759f2bd9cc27bf94562b3d7a1e22883 /drivers/tty/cyclades.c | |
parent | cb128f69ca61b456126280bb9a969befe7cfdd7c (diff) |
cyclades: Deinline cyz_is_loaded, save 240 bytes
This function compiles to 58 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 6ddf903906e2..abbed201dc74 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) | |||
321 | return __cyz_fpga_loaded(card->ctl_addr.p9060); | 321 | return __cyz_fpga_loaded(card->ctl_addr.p9060); |
322 | } | 322 | } |
323 | 323 | ||
324 | static inline bool cyz_is_loaded(struct cyclades_card *card) | 324 | static bool cyz_is_loaded(struct cyclades_card *card) |
325 | { | 325 | { |
326 | struct FIRM_ID __iomem *fw_id = card->base_addr + ID_ADDRESS; | 326 | struct FIRM_ID __iomem *fw_id = card->base_addr + ID_ADDRESS; |
327 | 327 | ||