diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2008-12-18 14:49:45 +0900 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-01-02 12:00:53 -0600 |
commit | 08c95832427b449ecfb357696f7b8e239b79a72c (patch) | |
tree | f790c731eb6b8f752b7fb2231bce0c23615e208f /drivers/scsi/st.h | |
parent | b3376b4aaab4c348dfd2e0b7595dc12f64c9fac9 (diff) | |
download | lwn-08c95832427b449ecfb357696f7b8e239b79a72c.tar.gz lwn-08c95832427b449ecfb357696f7b8e239b79a72c.zip |
[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 { 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 */ - struct st_buf_fragment *frp; /* the allocated buffer fragment list */ struct scatterlist sg[1]; /* MUST BE last item */ }; -/* The tape buffer fragment descriptor */ -struct st_buf_fragment { - struct page *page; - unsigned int length; -}; - /* The tape mode definition */ struct st_modedef { unsigned char defined; |