summaryrefslogtreecommitdiffstats
path: root/drivers/tty/isicom.c
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2015-10-27 17:39:58 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-14 04:59:48 +0100
commit810e20e705d76b6d3229b4417ab2ba1e178a92fa (patch)
treed5e5b7e8f86a0441aeb2d03159d967396abd82d8 /drivers/tty/isicom.c
parentcyclades: Deinline serial_paranoia_check, save 304 bytes (diff)
downloadlinux-810e20e705d76b6d3229b4417ab2ba1e178a92fa.tar.xz
linux-810e20e705d76b6d3229b4417ab2ba1e178a92fa.zip
isicom: Deinline WaitTillCardIsFree, save 1120 bytes
This function compiles to 96 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/isicom.c')
-rw-r--r--drivers/tty/isicom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/isicom.c b/drivers/tty/isicom.c
index 2054427992e0..c7698fb12720 100644
--- a/drivers/tty/isicom.c
+++ b/drivers/tty/isicom.c
@@ -220,7 +220,7 @@ static struct isi_port isi_ports[PORT_COUNT];
* it wants to talk.
*/
-static inline int WaitTillCardIsFree(unsigned long base)
+static int WaitTillCardIsFree(unsigned long base)
{
unsigned int count = 0;
unsigned int a = in_atomic(); /* do we run under spinlock? */