aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi.h
diff options
context:
space:
mode:
author <hch@lst.de>2005-04-03 14:53:59 -0500
committerJames Bottomley <jejb@titanic>2005-04-18 12:32:20 -0500
commitdb9dff366ba78085d0323364fadbf09bec0e77ee (patch)
treeae86a60cf83c3d897f9488e90fca4b36cd545a1a /drivers/scsi/scsi.h
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/scsi.h')
-rw-r--r--drivers/scsi/scsi.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/drivers/scsi/scsi.h b/drivers/scsi/scsi.h
index cb6b5fbb7e1..6e7bb068220 100644
--- a/drivers/scsi/scsi.h
+++ b/drivers/scsi/scsi.h
@@ -23,7 +23,6 @@
#include <linux/config.h> /* for CONFIG_SCSI_LOGGING */
#include <scsi/scsi_cmnd.h>
-#include <scsi/scsi_dbg.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_eh.h>
#include <scsi/scsi_request.h>
@@ -62,42 +61,6 @@ struct scatterlist;
#define scsi_to_sbus_dma_dir(scsi_dir) ((int)(scsi_dir))
/*
- * Old names for debug prettyprinting functions.
- */
-static inline void print_Scsi_Cmnd(struct scsi_cmnd *cmd)
-{
- return scsi_print_command(cmd);
-}
-static inline void print_command(unsigned char *cdb)
-{
- return __scsi_print_command(cdb);
-}
-static inline void print_sense(const char *devclass, struct scsi_cmnd *cmd)
-{
- return scsi_print_sense(devclass, cmd);
-}
-static inline void print_req_sense(const char *devclass, struct scsi_request *req)
-{
- return scsi_print_req_sense(devclass, req);
-}
-static inline void print_driverbyte(int scsiresult)
-{
- return scsi_print_driverbyte(scsiresult);
-}
-static inline void print_hostbyte(int scsiresult)
-{
- return scsi_print_hostbyte(scsiresult);
-}
-static inline void print_status(unsigned char status)
-{
- return scsi_print_status(status);
-}
-static inline int print_msg(const unsigned char *msg)
-{
- return scsi_print_msg(msg);
-}
-
-/*
* This is the crap from the old error handling code. We have it in a special
* place so that we can more easily delete it later on.
*/