Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 810e20e7 authored by Denys Vlasenko's avatar Denys Vlasenko Committed by Greg Kroah-Hartman
Browse files

isicom: Deinline WaitTillCardIsFree, save 1120 bytes



This function compiles to 96 bytes of machine code.

Signed-off-by: default avatarDenys Vlasenko <dvlasenk@redhat.com>
CC: Jiri Slaby <jslaby@suse.com>
CC: linux-serial@vger.kernel.org
Reviewed-by: default avatarPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8c6ba003
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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? */