block/floppy: remove redundant variable dflags
authorColin Ian King <colin.king@canonical.com>
Mon, 2 Jul 2018 07:42:34 +0000 (08:42 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Jul 2018 15:07:52 +0000 (09:07 -0600)
commitb64a71a0130dd2a88b0fc36a3c0a4882f47813e8
treeb637bc870e25cb6bb3bf57b6d86322b49085932e
parent43ada78781246cb36036f26158a645c17550ac54
block/floppy: remove redundant variable dflags

Variable dflags is being assigned but is never used hence it is redundant
and can be removed.

Cleans up clang warning:
warning: variable 'dflags' set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/floppy.c