[SCSI] libfc: removes unused disc_work and ex_list
authorVasu Dev <vasu.dev@intel.com>
Wed, 21 Oct 2009 23:27:39 +0000 (16:27 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:00:31 +0000 (12:00 -0600)
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>
drivers/scsi/libfc/fc_exch.c
include/scsi/libfc.h

index 8ce4182965379e94332b15925297eed1cb76a57c..170cdf4bac9747c5ddf847842c62ed6ab74a36be 100644 (file)
@@ -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 */
index 65dc9aacbf703b79874e32f8f61484a3e58856e9..4ff14858056232a7e51a5ecd16cdf08edc564756 100644 (file)
@@ -742,7 +742,6 @@ struct fc_lport {
 
        /* Miscellaneous */
        struct delayed_work     retry_work;
-       struct delayed_work     disc_work;
 };
 
 /*