Skip to content

Commit

Permalink
[SCSI] st: remove unused st_buffer.in_use
Browse files Browse the repository at this point in the history
I noticed that in_use in st_buffer is not used. The patch below
against 2.6.17-rc3 removes it, assuming there is no future use for it.
It was tested in a sparc SS20 with a DLT4000.

Signed-off-by: Martin Habets <errandir_news@mph.eclipse.co.uk>
Acked-by: Kai Mäkisara <kai.makisara@kolumbus.fi>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
  • Loading branch information
Martin Habets authored and James Bottomley committed Jun 29, 2006
1 parent f28e716 commit 332959c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/scsi/st.c
Original file line number Diff line number Diff line change
Expand Up @@ -3599,7 +3599,6 @@ static struct st_buffer *
tb->use_sg = max_sg;
tb->frp = (struct st_buf_fragment *)(&(tb->sg[0]) + max_sg);

tb->in_use = 1;
tb->dma = need_dma;
tb->buffer_size = got;

Expand Down
1 change: 0 additions & 1 deletion drivers/scsi/st.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ struct st_request {

/* The tape buffer descriptor. */
struct st_buffer {
unsigned char in_use;
unsigned char dma; /* DMA-able buffer */
unsigned char do_dio; /* direct i/o set up? */
int buffer_size;
Expand Down

0 comments on commit 332959c

Please sign in to comment.