diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2015-10-27 12:39:57 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-13 22:59:48 -0500 |
commit | 8c6ba003ee4dd43448b3986108f9d5299543b53f (patch) | |
tree | d8ffd2bcf36d5251637b738d5df63bc9a209abc1 /drivers/tty/cyclades.c | |
parent | f25d596fc2ef038ec91e1135ea7c7717bbd85f55 (diff) |
cyclades: Deinline serial_paranoia_check, save 304 bytes
This function compiles to 52 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 da15d165557a..6ddf903906e2 100644 --- a/drivers/tty/cyclades.c +++ b/drivers/tty/cyclades.c | |||
@@ -329,7 +329,7 @@ static inline bool cyz_is_loaded(struct cyclades_card *card) | |||
329 | readl(&fw_id->signature) == ZFIRM_ID; | 329 | readl(&fw_id->signature) == ZFIRM_ID; |
330 | } | 330 | } |
331 | 331 | ||
332 | static inline int serial_paranoia_check(struct cyclades_port *info, | 332 | static int serial_paranoia_check(struct cyclades_port *info, |
333 | const char *name, const char *routine) | 333 | const char *name, const char *routine) |
334 | { | 334 | { |
335 | #ifdef SERIAL_PARANOIA_CHECK | 335 | #ifdef SERIAL_PARANOIA_CHECK |