OSDN Git Service

[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 8ce4182..170cdf4 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 65dc9aa..4ff1485 100644 (file)
@@ -742,7 +742,6 @@ struct fc_lport {
 
        /* Miscellaneous */
        struct delayed_work     retry_work;
-       struct delayed_work     disc_work;
 };
 
 /*