From: Denys Vlasenko Date: Tue, 27 Oct 2015 16:39:58 +0000 (+0100) Subject: isicom: Deinline WaitTillCardIsFree, save 1120 bytes X-Git-Tag: v4.5-rc1~123^2~87 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=810e20e705d76b6d3229b4417ab2ba1e178a92fa;p=linux.git isicom: Deinline WaitTillCardIsFree, save 1120 bytes This function compiles to 96 bytes of machine code. Signed-off-by: Denys Vlasenko CC: Jiri Slaby CC: linux-serial@vger.kernel.org Reviewed-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- 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? */