From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752770AbaC2SFH (ORCPT ); Sat, 29 Mar 2014 14:05:07 -0400 Received: from mail-pd0-f180.google.com ([209.85.192.180]:59192 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751663AbaC2SFE (ORCPT ); Sat, 29 Mar 2014 14:05:04 -0400 Date: Sat, 29 Mar 2014 23:35:29 +0530 From: Rashika Kheria To: linux-kernel@vger.kernel.org Cc: Intel SCU Linux support , Lukasz Dorau , Maciej Patelczyk , Dave Jiang , "James E.J. Bottomley" , linux-scsi@vger.kernel.org, josh@joshtriplett.org Subject: [PATCH 20/55] scsi: Mark function as static in isci/remote_device.c Message-ID: References: <5fd6fa49a592043459f75ed83a72f8c1ed9ddc13.1396114897.git.rashika.kheria@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5fd6fa49a592043459f75ed83a72f8c1ed9ddc13.1396114897.git.rashika.kheria@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mark function as static in isci/remote_device.c because it is not used outside this file. This eliminates the following warning in isci/remote_device.c: drivers/scsi/isci/remote_device.c:1387:6: warning: no previous prototype for ‘isci_remote_device_wait_for_resume_from_abort’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett --- drivers/scsi/isci/remote_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/isci/remote_device.c b/drivers/scsi/isci/remote_device.c index 96a26f4..33033fb 100644 --- a/drivers/scsi/isci/remote_device.c +++ b/drivers/scsi/isci/remote_device.c @@ -1384,7 +1384,7 @@ static bool isci_remote_device_test_resume_done( return done; } -void isci_remote_device_wait_for_resume_from_abort( +static void isci_remote_device_wait_for_resume_from_abort( struct isci_host *ihost, struct isci_remote_device *idev) { -- 1.7.9.5