summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/st.h
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2008-12-18 06:49:48 +0100
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-01-02 19:02:01 +0100
commit1ac63cf5c05f956f52ab418a07f77d12328f3b5f (patch)
tree4bcdf0a4f13e0cb6b54b13b612b024be9340d2b6 /drivers/scsi/st.h
parent[SCSI] st: simplify new_tape_buffer (diff)
downloadlinux-1ac63cf5c05f956f52ab418a07f77d12328f3b5f.tar.xz
linux-1ac63cf5c05f956f52ab418a07f77d12328f3b5f.zip
[SCSI] st: remove unused orig_frp_segs
orig_frp_segs in struct st_buffer is always zero. We don't need it. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Acked-by: Kai Makisara <Kai.Makisara@kolumbus.fi> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/st.h')
-rw-r--r--drivers/scsi/st.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/st.h b/drivers/scsi/st.h
index d29760776f42..e682f8045034 100644
--- a/drivers/scsi/st.h
+++ b/drivers/scsi/st.h
@@ -51,7 +51,6 @@ struct st_buffer {
unsigned char *b_data;
unsigned short use_sg; /* zero or max number of s/g segments for this adapter */
unsigned short sg_segs; /* number of segments in s/g list */
- unsigned short orig_frp_segs; /* number of segments allocated at first try */
unsigned short frp_segs; /* number of buffer segments */
unsigned int frp_sg_current; /* driver buffer length currently in s/g list */
};