[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>
This commit is contained in:
committed by
James Bottomley
parent
96316099ac
commit
d459b7ea1b
@@ -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, \
|
||||
|
Reference in New Issue
Block a user