On 2020/05/19 17:14, Hannes Reinecke wrote:
> 'dev' is unused, and can be removed.
> 
> Reported-by: kbuild test robot <[email protected]>
> Signed-off-by: Hannes Reinecke <[email protected]>
> ---
>  drivers/md/dm-zoned-reclaim.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/md/dm-zoned-reclaim.c b/drivers/md/dm-zoned-reclaim.c
> index 3ed88581dc48..571bc1d41bab 100644
> --- a/drivers/md/dm-zoned-reclaim.c
> +++ b/drivers/md/dm-zoned-reclaim.c
> @@ -366,7 +366,6 @@ static int dmz_do_reclaim(struct dmz_reclaim *zrc)
>       struct dmz_metadata *zmd = zrc->metadata;
>       struct dm_zone *dzone;
>       struct dm_zone *rzone;
> -     struct dmz_dev *dev;
>       unsigned long start;
>       int ret;
>  
> @@ -376,7 +375,6 @@ static int dmz_do_reclaim(struct dmz_reclaim *zrc)
>               return -EBUSY;
>  
>       start = jiffies;
> -     dev = dmz_zone_to_dev(zmd, dzone);
>       if (dmz_is_cache(dzone) || dmz_is_rnd(dzone)) {
>               if (!dmz_weight(dzone)) {
>                       /* Empty zone */
> 

Reviewed-by: Damien Le Moal <[email protected]>


-- 
Damien Le Moal
Western Digital Research



--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to