From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian Bunk Subject: [2.6 patch] drivers/scsi/sym53c8xx_2/sym_hipd.c: make a function static Date: Mon, 28 Feb 2005 23:01:55 +0100 Message-ID: <20050228220155.GS4021@stusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Received: from emailhub.stusta.mhn.de ([141.84.69.5]:11529 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S261776AbVB1WB4 (ORCPT ); Mon, 28 Feb 2005 17:01:56 -0500 Content-Disposition: inline Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: matthew@wil.cx Cc: James.Bottomley@SteelEye.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org This patch makes a needlessly global function static. Signed-off-by: Adrian Bunk --- drivers/scsi/sym53c8xx_2/sym_hipd.c | 2 +- drivers/scsi/sym53c8xx_2/sym_hipd.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) --- linux-2.6.11-rc4-mm1-full/drivers/scsi/sym53c8xx_2/sym_hipd.h.old 2005-02-28 20:29:13.000000000 +0100 +++ linux-2.6.11-rc4-mm1-full/drivers/scsi/sym53c8xx_2/sym_hipd.h 2005-02-28 20:29:19.000000000 +0100 @@ -1091,7 +1091,6 @@ lcb_p sym_alloc_lcb (struct sym_hcb *np, u_char tn, u_char ln); int sym_queue_scsiio(struct sym_hcb *np, struct scsi_cmnd *csio, ccb_p cp); int sym_abort_scsiio(struct sym_hcb *np, struct scsi_cmnd *ccb, int timed_out); -int sym_abort_ccb(struct sym_hcb *np, ccb_p cp, int timed_out); int sym_reset_scsi_target(struct sym_hcb *np, int target); void sym_hcb_free(struct sym_hcb *np); int sym_hcb_attach(struct sym_hcb *np, struct sym_fw *fw, struct sym_nvram *nvram); --- linux-2.6.11-rc4-mm1-full/drivers/scsi/sym53c8xx_2/sym_hipd.c.old 2005-02-28 20:29:27.000000000 +0100 +++ linux-2.6.11-rc4-mm1-full/drivers/scsi/sym53c8xx_2/sym_hipd.c 2005-02-28 20:29:40.000000000 +0100 @@ -5351,7 +5351,7 @@ /* * Abort a SCSI IO. */ -int sym_abort_ccb(struct sym_hcb *np, ccb_p cp, int timed_out) +static int sym_abort_ccb(struct sym_hcb *np, ccb_p cp, int timed_out) { /* * Check that the IO is active.