]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] libfc: Remove the FC_EM_DBG macro
authorRobert Love <robert.w.love@intel.com>
Thu, 30 Jul 2009 00:05:05 +0000 (17:05 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 22 Aug 2009 22:52:08 +0000 (17:52 -0500)
commitb41fbcfe51ee1a114d3d565ddade398eff86cdf4
tree65fafcc2af6d44713fd5e7f113fa7f180d4f4675
parent2f888d800f0b40516ffe4d040c512805502a608a
[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>
drivers/scsi/libfc/fc_exch.c
include/scsi/libfc.h