From: akpm@osdl.org Subject: [patch 06/17] drivers/scsi/gdth.c: make __gdth_execute() static Date: Tue, 18 Apr 2006 21:09:14 -0700 Message-ID: <200604190409.k3J49uQB008212@shell0.pdx.osdl.net> Return-path: Received: from smtp.osdl.org ([65.172.181.4]:4302 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1750791AbWDSENK (ORCPT ); Wed, 19 Apr 2006 00:13:10 -0400 Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: James.Bottomley@steeleye.com Cc: linux-scsi@vger.kernel.org, akpm@osdl.org, bunk@stusta.de From: Adrian Bunk I don't see any reason for __gdth_execute() being global. Signed-off-by: Adrian Bunk Cc: James Bottomley Signed-off-by: Andrew Morton --- drivers/scsi/gdth.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff -puN drivers/scsi/gdth.c~drivers-scsi-gdthc-make-__gdth_execute-static drivers/scsi/gdth.c --- devel/drivers/scsi/gdth.c~drivers-scsi-gdthc-make-__gdth_execute-static 2006-04-05 21:27:56.000000000 -0700 +++ devel-akpm/drivers/scsi/gdth.c 2006-04-05 21:27:56.000000000 -0700 @@ -693,8 +693,8 @@ static void gdth_scsi_done(struct scsi_c complete(scp->request->waiting); } -int __gdth_execute(struct scsi_device *sdev, gdth_cmd_str *gdtcmd, char *cmnd, - int timeout, u32 *info) +static int __gdth_execute(struct scsi_device *sdev, gdth_cmd_str *gdtcmd, + char *cmnd, int timeout, u32 *info) { struct scsi_request *scp = scsi_allocate_request(sdev, GFP_KERNEL); unsigned bufflen = gdtcmd ? sizeof(gdth_cmd_str) : 0; @@ -727,8 +727,8 @@ static void gdth_scsi_done(Scsi_Cmnd *sc complete(scp->request.waiting); } -int __gdth_execute(struct scsi_device *sdev, gdth_cmd_str *gdtcmd, char *cmnd, - int timeout, u32 *info) +static int __gdth_execute(struct scsi_device *sdev, gdth_cmd_str *gdtcmd, + char *cmnd, int timeout, u32 *info) { Scsi_Cmnd *scp = scsi_allocate_device(sdev, 1, FALSE); unsigned bufflen = gdtcmd ? sizeof(gdth_cmd_str) : 0; _