Commit 99052817 authored by Colin Ian King's avatar Colin Ian King Committed by Martin K. Petersen

scsi: st: remove redundant pointer STbuffer

Pointer STbuffer is being assigned but is never used hence it is redundant
and can be removed.

Cleans up clang warning:
warning: variable 'STbuffer' set but not used [-Wunused-but-set-variable]
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Acked-by: default avatarKai Mäkisara <kai.makisara@kolumbus.fi>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent dc0aa992
...@@ -828,11 +828,8 @@ static int st_flush_write_buffer(struct scsi_tape * STp) ...@@ -828,11 +828,8 @@ static int st_flush_write_buffer(struct scsi_tape * STp)
static int flush_buffer(struct scsi_tape *STp, int seek_next) static int flush_buffer(struct scsi_tape *STp, int seek_next)
{ {
int backspace, result; int backspace, result;
struct st_buffer *STbuffer;
struct st_partstat *STps; struct st_partstat *STps;
STbuffer = STp->buffer;
/* /*
* If there was a bus reset, block further access * If there was a bus reset, block further access
* to this device. * to this device.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment