summaryrefslogtreecommitdiff
path: root/include/scsi/libfc.h
diff options
context:
space:
mode:
authorjohn fastabend <john.r.fastabend@intel.com>2010-12-01 03:18:49 +0300
committerJames Bottomley <James.Bottomley@suse.de>2010-12-21 21:24:22 +0300
commit05fee645e96e732a79ad083cab8ddd4efd108e2c (patch)
tree597d8d29d6f53261ebd46b3a925187075482b426 /include/scsi/libfc.h
parente0883a3c3e7766b390971a49bf728004816c9520 (diff)
downloadlinux-05fee645e96e732a79ad083cab8ddd4efd108e2c.tar.xz
[SCSI] libfc: remove tgt_flags from fc_fcp_pkt struct
We can easily remove the tgt_flags from fc_fcp_pkt struct and use rpriv->tgt_flags directly where needed. Signed-off-by: John Fastabend <john.r.fastabend@intel.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include/scsi/libfc.h')
-rw-r--r--include/scsi/libfc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h
index 5c4c1678f7be..3eb3915eb557 100644
--- a/include/scsi/libfc.h
+++ b/include/scsi/libfc.h
@@ -263,7 +263,6 @@ struct fc_seq_els_data {
* struct fc_fcp_pkt - FCP request structure (one for each scsi_cmnd request)
* @lp: The associated local port
* @state: The state of the I/O
- * @tgt_flags: Target's flags
* @ref_cnt: Reference count
* @scsi_pkt_lock: Lock to protect the SCSI packet (must be taken before the
* host_lock if both are to be held at the same time)
@@ -298,7 +297,6 @@ struct fc_fcp_pkt {
/* Housekeeping information */
struct fc_lport *lp;
u16 state;
- u16 tgt_flags;
atomic_t ref_cnt;
spinlock_t scsi_pkt_lock;