summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_dump.h
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@suse.de>2011-01-23 08:19:00 -0600
committerJames Bottomley <James.Bottomley@suse.de>2011-01-24 12:05:38 -0600
commit96db6fa992570bfa46da8428fa466ee6b18e39d6 (patch)
treee0a4a7ce562ba967850bad259b4952a738f0093f /drivers/scsi/libsas/sas_dump.h
parent75c0b3867b3d3ed17142888cd4f334fbee20e3f7 (diff)
[SCSI] libsas: convert to standard kernel debugging
Instead of using a config option for debugging, just dump the messages with KERN_DEBUG. Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/libsas/sas_dump.h')
-rw-r--r--drivers/scsi/libsas/sas_dump.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/scsi/libsas/sas_dump.h b/drivers/scsi/libsas/sas_dump.h
index 47b45d4f525..800e4c69093 100644
--- a/drivers/scsi/libsas/sas_dump.h
+++ b/drivers/scsi/libsas/sas_dump.h
@@ -24,19 +24,7 @@
#include "sas_internal.h"
-#ifdef SAS_DEBUG
-
void sas_dprint_porte(int phyid, enum port_event pe);
void sas_dprint_phye(int phyid, enum phy_event pe);
void sas_dprint_hae(struct sas_ha_struct *sas_ha, enum ha_event he);
void sas_dump_port(struct asd_sas_port *port);
-
-#else /* SAS_DEBUG */
-
-static inline void sas_dprint_porte(int phyid, enum port_event pe) { }
-static inline void sas_dprint_phye(int phyid, enum phy_event pe) { }
-static inline void sas_dprint_hae(struct sas_ha_struct *sas_ha,
- enum ha_event he) { }
-static inline void sas_dump_port(struct asd_sas_port *port) { }
-
-#endif /* SAS_DEBUG */