diff options
author | James Bottomley <James.Bottomley@suse.de> | 2011-01-23 15:19:00 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-01-24 19:05:38 +0100 |
commit | 96db6fa992570bfa46da8428fa466ee6b18e39d6 (patch) | |
tree | e0a4a7ce562ba967850bad259b4952a738f0093f /drivers/scsi/libsas/sas_dump.h | |
parent | [SCSI] libsas: fix ATAPI check condition termination (diff) | |
download | linux-96db6fa992570bfa46da8428fa466ee6b18e39d6.tar.xz linux-96db6fa992570bfa46da8428fa466ee6b18e39d6.zip |
[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.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/scsi/libsas/sas_dump.h b/drivers/scsi/libsas/sas_dump.h index 47b45d4f5258..800e4c69093f 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 */ |