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: Colin Ian King <colin.king@canonical.com>
Acked-by: Kai Mäkisara <kai.makisara@kolumbus.fi>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
Colin Ian King 2018-08-03 11:47:52 +01:00 committed by Martin K. Petersen
parent dc0aa99258
commit 990528171f
1 changed files with 0 additions and 3 deletions

View File

@ -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.