mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-15 11:08:06 +00:00
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:
parent
dc0aa99258
commit
990528171f
1 changed files with 0 additions and 3 deletions
|
|
@ -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)
|
||||
{
|
||||
int backspace, result;
|
||||
struct st_buffer *STbuffer;
|
||||
struct st_partstat *STps;
|
||||
|
||||
STbuffer = STp->buffer;
|
||||
|
||||
/*
|
||||
* If there was a bus reset, block further access
|
||||
* to this device.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue