diff options
author | Robert Love <robert.w.love@intel.com> | 2009-07-30 00:05:05 (GMT) |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-08-22 22:52:08 (GMT) |
commit | d459b7ea1b4c7aa3dacfeee174d02b2f7a95850d (patch) | |
tree | 65fafcc2af6d44713fd5e7f113fa7f180d4f4675 /include/scsi | |
parent | 96316099ac3cb259eac2d6891f3c75b38b29d26e (diff) | |
download | linux-fsl-qoriq-d459b7ea1b4c7aa3dacfeee174d02b2f7a95850d.tar.xz |
[SCSI] libfc: Remove the FC_EM_DBG macro
Currently there is a 1:1 relationship between the lport
and exchange manager. This macro takes an EM as an argument
and determines the lport from it. However, later patches
will use an EM list per lport, so we will no longer have
this 1:1 relationship- this macro must change.
The FC_EM_DBG macro is rarely used. There are four callers,
two can use FC_LPORT_DBG instead and two can be removed
since they're not necessary. This patch makes those changes
and removes the macro.
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/libfc.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h index b381b1c..f1bde91 100644 --- a/include/scsi/libfc.h +++ b/include/scsi/libfc.h @@ -88,12 +88,6 @@ do { \ (pkt)->lp->host->host_no, \ pkt->rport->port_id, ##args)) -#define FC_EM_DBG(em, fmt, args...) \ - FC_CHECK_LOGGING(FC_EM_LOGGING, \ - printk(KERN_INFO "host%u: em: " fmt, \ - (em)->lp->host->host_no, \ - ##args)) - #define FC_EXCH_DBG(exch, fmt, args...) \ FC_CHECK_LOGGING(FC_EXCH_LOGGING, \ printk(KERN_INFO "host%u: xid %4x: " fmt, \ |