summaryrefslogtreecommitdiff
path: root/include/scsi/libiscsi.h
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2009-03-05 23:45:58 +0300
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-03-13 23:27:09 +0300
commit1b2c7af877f427a2b25583c9033616c9ebd30aed (patch)
tree9093ff19581e0366567ec359b3f41bc70f239f99 /include/scsi/libiscsi.h
parent48a237a26db0a31404c83a88e984b37a30ddcf5a (diff)
downloadlinux-1b2c7af877f427a2b25583c9033616c9ebd30aed.tar.xz
[SCSI] libiscsi: replace scsi_debug logging with session/conn logging
This makes the logging a compile time option and replaces the scsi_debug macro with session and connection ones that print out a driver model id prefix. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi/libiscsi.h')
-rw-r--r--include/scsi/libiscsi.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h
index 7360e1916e75..67542aa3aedc 100644
--- a/include/scsi/libiscsi.h
+++ b/include/scsi/libiscsi.h
@@ -45,13 +45,6 @@ struct iscsi_session;
struct iscsi_nopin;
struct device;
-/* #define DEBUG_SCSI */
-#ifdef DEBUG_SCSI
-#define debug_scsi(fmt...) printk(KERN_INFO "iscsi: " fmt)
-#else
-#define debug_scsi(fmt...)
-#endif
-
#define ISCSI_DEF_XMIT_CMDS_MAX 128 /* must be power of 2 */
#define ISCSI_MGMT_CMDS_MAX 15