diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2008-12-18 00:49:45 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-01-02 13:00:53 -0500 |
commit | 08c95832427b449ecfb357696f7b8e239b79a72c (patch) | |
tree | f790c731eb6b8f752b7fb2231bce0c23615e208f /drivers/scsi/st.h | |
parent | b3376b4aaab4c348dfd2e0b7595dc12f64c9fac9 (diff) |
[SCSI] st: kill struct st_buff_fragment
This removes struct st_buff_fragment and use reserved_pages array to
store fragment buffer.
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.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/scsi/st.h b/drivers/scsi/st.h index d80926f9c6e3..cc46f18762b7 100644 --- a/drivers/scsi/st.h +++ b/drivers/scsi/st.h | |||
@@ -54,16 +54,9 @@ struct st_buffer { | |||
54 | unsigned short orig_frp_segs; /* number of segments allocated at first try */ | 54 | unsigned short orig_frp_segs; /* number of segments allocated at first try */ |
55 | unsigned short frp_segs; /* number of buffer segments */ | 55 | unsigned short frp_segs; /* number of buffer segments */ |
56 | unsigned int frp_sg_current; /* driver buffer length currently in s/g list */ | 56 | unsigned int frp_sg_current; /* driver buffer length currently in s/g list */ |
57 | struct st_buf_fragment *frp; /* the allocated buffer fragment list */ | ||
58 | struct scatterlist sg[1]; /* MUST BE last item */ | 57 | struct scatterlist sg[1]; /* MUST BE last item */ |
59 | }; | 58 | }; |
60 | 59 | ||
61 | /* The tape buffer fragment descriptor */ | ||
62 | struct st_buf_fragment { | ||
63 | struct page *page; | ||
64 | unsigned int length; | ||
65 | }; | ||
66 | |||
67 | /* The tape mode definition */ | 60 | /* The tape mode definition */ |
68 | struct st_modedef { | 61 | struct st_modedef { |
69 | unsigned char defined; | 62 | unsigned char defined; |