drivers/scsi/gdth.c: make __gdth_execute() static
PATCH 21/28 drivers/scsi/gdth.c: make __gdth_execute() static
From: Adrian Bunk <[email protected]>
I don't see any reason for __gdth_execute() being global.
Signed-off-by Adrian Bunk <[email protected]>
Cc James Bottomley <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/scsi/gdth.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
drivers/scsi/gdth.c renamed from drivers/scsi/gdth.c~drivers-scsi-gdthc-make-__gdth_execute-static +4 -4
@@ -692,8 +692,8 @@ static void gdth_scsi_done(struct scsi_ccomplete (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 ;
@@ -726,8 +726,8 @@ static void gdth_scsi_done(Scsi_Cmnd *sccomplete (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 ;
_