diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2022-01-12 23:20:36 +0000 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-01-14 14:14:56 +0100 |
commit | 7f0fec39c9ee3d0f82aa6c5895029e4ab5ec08d0 (patch) | |
tree | 086b72069295aa2485fc763a9c7716de08052c36 /drivers/char/agp/ati-agp.c | |
parent | 1500296576464dd4f8f7ba409069591648f4e98c (diff) | |
download | linux-7f0fec39c9ee3d0f82aa6c5895029e4ab5ec08d0.tar.bz2 |
drm/vc4: remove redundant assignment of variable size
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);
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220112232036.1182846-1-colin.i.king@gmail.com
Diffstat (limited to 'drivers/char/agp/ati-agp.c')
0 files changed, 0 insertions, 0 deletions