diff options
author | James Bottomley <James.Bottomley@suse.de> | 2011-01-23 17:19:00 +0300 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-01-24 21:05:38 +0300 |
commit | 96db6fa992570bfa46da8428fa466ee6b18e39d6 (patch) | |
tree | e0a4a7ce562ba967850bad259b4952a738f0093f /drivers/scsi/libsas/sas_dump.c | |
parent | 75c0b3867b3d3ed17142888cd4f334fbee20e3f7 (diff) | |
download | linux-96db6fa992570bfa46da8428fa466ee6b18e39d6.tar.xz |
[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.c')
-rw-r--r-- | drivers/scsi/libsas/sas_dump.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/libsas/sas_dump.c b/drivers/scsi/libsas/sas_dump.c index c17c25030f1c..fc460933575c 100644 --- a/drivers/scsi/libsas/sas_dump.c +++ b/drivers/scsi/libsas/sas_dump.c @@ -24,8 +24,6 @@ #include "sas_dump.h" -#ifdef SAS_DEBUG - static const char *sas_hae_str[] = { [0] = "HAE_RESET", }; @@ -72,5 +70,3 @@ void sas_dump_port(struct asd_sas_port *port) SAS_DPRINTK("port%d: oob_mode:0x%x\n", port->id, port->oob_mode); SAS_DPRINTK("port%d: num_phys:%d\n", port->id, port->num_phys); } - -#endif /* SAS_DEBUG */ |