aboutsummaryrefslogtreecommitdiff
path: root/drivers/tty/cyclades.c
diff options
context:
space:
mode:
authorDenys Vlasenko2015-10-27 17:39:57 +0100
committerGreg Kroah-Hartman2015-12-13 19:59:48 -0800
commit8c6ba003ee4dd43448b3986108f9d5299543b53f (patch)
treed8ffd2bcf36d5251637b738d5df63bc9a209abc1 /drivers/tty/cyclades.c
parentf25d596fc2ef038ec91e1135ea7c7717bbd85f55 (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.c2
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)
readl(&fw_id->signature) == ZFIRM_ID;
}
-static inline int serial_paranoia_check(struct cyclades_port *info,
+static int serial_paranoia_check(struct cyclades_port *info,
const char *name, const char *routine)
{
#ifdef SERIAL_PARANOIA_CHECK