From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965293AbbJ0Qkf (ORCPT ); Tue, 27 Oct 2015 12:40:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44752 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965229AbbJ0Qkb (ORCPT ); Tue, 27 Oct 2015 12:40:31 -0400 From: Denys Vlasenko To: linux-kernel@vger.kernel.org Cc: Denys Vlasenko , Greg Kroah-Hartman , Peter Hurley , Jiri Slaby , linux-serial@vger.kernel.org Subject: [PATCH 4/8] isicom: Deinline WaitTillCardIsFree, save 1120 bytes Date: Tue, 27 Oct 2015 17:39:58 +0100 Message-Id: <1445964002-10093-5-git-send-email-dvlasenk@redhat.com> In-Reply-To: <1445964002-10093-1-git-send-email-dvlasenk@redhat.com> References: <1445964002-10093-1-git-send-email-dvlasenk@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This function compiles to 96 bytes of machine code. Signed-off-by: Denys Vlasenko CC: Greg Kroah-Hartman CC: Peter Hurley CC: Jiri Slaby CC: linux-serial@vger.kernel.org --- drivers/tty/isicom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/isicom.c b/drivers/tty/isicom.c index 2054427..c7698fb 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? */ -- 1.8.1.4