Re: [PATCH] block/floppy: remove redundant variable dflags

From: Jens Axboe
Date: Mon Jul 02 2018 - 10:27:16 EST


On 7/2/18 1:42 AM, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> 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]

Applied for 4.19, thanks.

--
Jens Axboe