aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorRobert Love <robert.w.love@intel.com>2009-07-29 20:05:05 -0400
committerJames Bottomley <James.Bottomley@suse.de>2009-08-22 18:52:08 -0400
commitd459b7ea1b4c7aa3dacfeee174d02b2f7a95850d (patch)
tree65fafcc2af6d44713fd5e7f113fa7f180d4f4675 /include/scsi
parent96316099ac3cb259eac2d6891f3c75b38b29d26e (diff)
[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.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h
index b381b1ca9aec..f1bde91f98a2 100644
--- a/include/scsi/libfc.h
+++ b/include/scsi/libfc.h
@@ -88,12 +88,6 @@ do { \
88 (pkt)->lp->host->host_no, \ 88 (pkt)->lp->host->host_no, \
89 pkt->rport->port_id, ##args)) 89 pkt->rport->port_id, ##args))
90 90
91#define FC_EM_DBG(em, fmt, args...) \
92 FC_CHECK_LOGGING(FC_EM_LOGGING, \
93 printk(KERN_INFO "host%u: em: " fmt, \
94 (em)->lp->host->host_no, \
95 ##args))
96
97#define FC_EXCH_DBG(exch, fmt, args...) \ 91#define FC_EXCH_DBG(exch, fmt, args...) \
98 FC_CHECK_LOGGING(FC_EXCH_LOGGING, \ 92 FC_CHECK_LOGGING(FC_EXCH_LOGGING, \
99 printk(KERN_INFO "host%u: xid %4x: " fmt, \ 93 printk(KERN_INFO "host%u: xid %4x: " fmt, \