OSDN Git Service

[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)
commitd459b7ea1b4c7aa3dacfeee174d02b2f7a95850d
tree65fafcc2af6d44713fd5e7f113fa7f180d4f4675
parent96316099ac3cb259eac2d6891f3c75b38b29d26e
[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