Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127892
b: refs/heads/master
c: edf69c5
h: refs/heads/master
v: v3
  • Loading branch information
FUJITA Tomonori authored and James Bottomley committed Jan 2, 2009
1 parent eed5b37 commit d08a50e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1ac63cf5c05f956f52ab418a07f77d12328f3b5f
refs/heads/master: edf69c58c74eeeb48f62f267ce41f7827cb4dd06
2 changes: 0 additions & 2 deletions trunk/drivers/scsi/st.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
Expand Down Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/scsi/st.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ struct st_buffer {
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 frp_segs; /* number of buffer segments */
unsigned int frp_sg_current; /* driver buffer length currently in s/g list */
};

/* The tape mode definition */
Expand Down

0 comments on commit d08a50e

Please sign in to comment.