summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasu Dev <vasu.dev@intel.com>2009-10-21 16:27:39 -0700
committerJames Bottomley <James.Bottomley@suse.de>2009-12-04 12:00:31 -0600
commite95147d8fa4e63bf6d8ff249f074d0047338fc61 (patch)
treec140b07c5f37586e33089f66f8d21363dd987d8d
parent3f127ad97a985d43b3cdf4b644e77a775b6035d4 (diff)
downloadlinux-e95147d8fa4e63bf6d8ff249f074d0047338fc61.tar.gz
linux-e95147d8fa4e63bf6d8ff249f074d0047338fc61.tar.bz2
linux-e95147d8fa4e63bf6d8ff249f074d0047338fc61.zip
[SCSI] libfc: removes unused disc_work and ex_list
Reported-by: Alex Lyakas <alexl@mellanox.co.il> Signed-off-by: Vasu Dev <vasu.dev@intel.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
-rw-r--r--drivers/scsi/libfc/fc_exch.c1
-rw-r--r--include/scsi/libfc.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/libfc/fc_exch.c b/drivers/scsi/libfc/fc_exch.c
index 8ce418296537..170cdf4bac97 100644
--- a/drivers/scsi/libfc/fc_exch.c
+++ b/drivers/scsi/libfc/fc_exch.c
@@ -75,7 +75,6 @@ struct fc_exch_mgr {
struct kref kref; /* exchange mgr reference count */
u16 min_xid; /* min exchange ID */
u16 max_xid; /* max exchange ID */
- struct list_head ex_list; /* allocated exchanges list */
mempool_t *ep_pool; /* reserve ep's */
u16 pool_max_index; /* max exch array index in exch pool */
struct fc_exch_pool *pool; /* per cpu exch pool */
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h
index 65dc9aacbf70..4ff148580562 100644
--- a/include/scsi/libfc.h
+++ b/include/scsi/libfc.h
@@ -742,7 +742,6 @@ struct fc_lport {
/* Miscellaneous */
struct delayed_work retry_work;
- struct delayed_work disc_work;
};
/*