diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2008-12-18 08:49:49 +0300 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-01-02 21:02:25 +0300 |
commit | edf69c58c74eeeb48f62f267ce41f7827cb4dd06 (patch) | |
tree | 285f545dd20e84b8def44f614bcf5c4680a828ab /drivers/scsi/st.c | |
parent | 1ac63cf5c05f956f52ab418a07f77d12328f3b5f (diff) | |
download | linux-edf69c58c74eeeb48f62f267ce41f7827cb4dd06.tar.xz |
[SCSI] st: remove unused frp_sg_current
frp_sg_current 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.c')
-rw-r--r-- | drivers/scsi/st.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/st.c b/drivers/scsi/st.c index 50dbe14db37b..fe4c20259bca 100644 --- a/drivers/scsi/st.c +++ b/drivers/scsi/st.c @@ -1524,7 +1524,6 @@ static int setup_buffering(struct scsi_tape *STp, const char __user *buf, else STbp->do_dio = 0; /* fall back to buffering with any error */ STbp->sg_segs = STbp->do_dio; - STbp->frp_sg_current = 0; DEB( if (STbp->do_dio) { STp->nbr_dio++; @@ -3844,7 +3843,6 @@ static void normalize_buffer(struct st_buffer * STbuffer) STbuffer->buffer_size -= (PAGE_SIZE << order); } STbuffer->frp_segs = 0; - STbuffer->frp_sg_current = 0; STbuffer->sg_segs = 0; STbuffer->map_data.page_order = 0; STbuffer->map_data.offset = 0; |