Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758865AbcDHS7O (ORCPT ); Fri, 8 Apr 2016 14:59:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47925 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758474AbcDHS7M (ORCPT ); Fri, 8 Apr 2016 14:59:12 -0400 From: Denys Vlasenko To: James Bottomley Cc: Denys Vlasenko , Hiral Patel , Suma Ramars , Brian Uchino , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] drivers/scsi/fnic/fnic_scsi.c: Deinline fnic_queue_abort_io_req, save 1792 bytes Date: Fri, 8 Apr 2016 20:58:43 +0200 Message-Id: <1460141926-13069-2-git-send-email-dvlasenk@redhat.com> In-Reply-To: <1460141926-13069-1-git-send-email-dvlasenk@redhat.com> References: <1460141926-13069-1-git-send-email-dvlasenk@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Fri, 08 Apr 2016 18:58:56 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 928 Lines: 30 This function compiles to 511 bytes of machine code. Abort commands are not time-critical at all. Signed-off-by: Denys Vlasenko CC: James Bottomley CC: Hiral Patel CC: Suma Ramars CC: Brian Uchino CC: linux-scsi@vger.kernel.org CC: linux-kernel@vger.kernel.org --- drivers/scsi/fnic/fnic_scsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/fnic/fnic_scsi.c b/drivers/scsi/fnic/fnic_scsi.c index 266b909..0a3edee 100644 --- a/drivers/scsi/fnic/fnic_scsi.c +++ b/drivers/scsi/fnic/fnic_scsi.c @@ -1435,7 +1435,7 @@ wq_copy_cleanup_scsi_cmd: } } -static inline int fnic_queue_abort_io_req(struct fnic *fnic, int tag, +static int fnic_queue_abort_io_req(struct fnic *fnic, int tag, u32 task_req, u8 *fc_lun, struct fnic_io_req *io_req) { -- 2.1.0