aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sg.c
diff options
context:
space:
mode:
author <hch@lst.de>2005-04-03 15:53:59 -0400
committerJames Bottomley <jejb@titanic>2005-04-18 13:32:20 -0400
commitdb9dff366ba78085d0323364fadbf09bec0e77ee (patch)
treeae86a60cf83c3d897f9488e90fca4b36cd545a1a /drivers/scsi/sg.c
parentb6651129cc27d56a9cbefcb5f713cea7706fd6b7 (diff)
[PATCH] remove outdated print_* functions
We have the scsi_print_* functions in the proper namespace for a long time now and there weren't a lot users left. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sg.c')
-rw-r--r--drivers/scsi/sg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c
index fd72d73bb244..cf6b1f0fb124 100644
--- a/drivers/scsi/sg.c
+++ b/drivers/scsi/sg.c
@@ -51,6 +51,7 @@ static int sg_version_num = 30532; /* 2 digits for each component */
51#include <linux/delay.h> 51#include <linux/delay.h>
52 52
53#include "scsi.h" 53#include "scsi.h"
54#include <scsi/scsi_dbg.h>
54#include <scsi/scsi_host.h> 55#include <scsi/scsi_host.h>
55#include <scsi/scsi_driver.h> 56#include <scsi/scsi_driver.h>
56#include <scsi/scsi_ioctl.h> 57#include <scsi/scsi_ioctl.h>
@@ -1311,7 +1312,7 @@ sg_cmd_done(Scsi_Cmnd * SCpnt)
1311 if ((sdp->sgdebug > 0) && 1312 if ((sdp->sgdebug > 0) &&
1312 ((CHECK_CONDITION == srp->header.masked_status) || 1313 ((CHECK_CONDITION == srp->header.masked_status) ||
1313 (COMMAND_TERMINATED == srp->header.masked_status))) 1314 (COMMAND_TERMINATED == srp->header.masked_status)))
1314 print_req_sense("sg_cmd_done", SRpnt); 1315 scsi_print_req_sense("sg_cmd_done", SRpnt);
1315 1316
1316 /* Following if statement is a patch supplied by Eric Youngdale */ 1317 /* Following if statement is a patch supplied by Eric Youngdale */
1317 if (driver_byte(SRpnt->sr_result) != 0 1318 if (driver_byte(SRpnt->sr_result) != 0