Re: (subset) [PATCH] drm/vc4: remove redundant assignment of variable size

From: Maxime Ripard
Date: Fri Jan 14 2022 - 08:15:50 EST


On Wed, 12 Jan 2022 23:20:36 +0000, Colin Ian King wrote:
> The variable 'size' is being assigned a value that is never read,
> the assignment is redundant and can be removed. Cleans up clang-scan
> warning:
>
> drivers/gpu/drm/vc4/vc4_bo.c:358:2: warning: Value stored to 'size'
> is never read [deadcode.DeadStores]
> size = roundup(size, PAGE_SIZE);
>
> [...]

Applied to drm/drm-misc (drm-misc-next).

Thanks!
Maxime