floppy: remove redundant assignment to variable st
authorColin Ian King <colin.king@canonical.com>
Thu, 15 Apr 2021 13:00:20 +0000 (14:00 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 20 Apr 2021 14:59:03 +0000 (08:59 -0600)
commitb53002e03559e97fdfb18d1c2b36c218d7bb742f
tree272882f53986bbc888fb0db89768ac393086c22a
parenta720e11f0a9a016266c8757f06e72622bea86a54
floppy: remove redundant assignment to variable st

The variable st is being assigned a value that is never read and
it is being updated later with a new value. The initialization is
redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Denis Efremov <efremov@linux.com>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20210415130020.1959951-1-colin.king@canonical.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/x86/include/asm/floppy.h