(subset) [PATCH] drm/vc4: remove redundant assignment of variable size
Maxime Ripard
maxime at cerno.tech
Fri Jan 14 13:15:43 UTC 2022
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
More information about the dri-devel
mailing list