diff options
| author | Miguel Ojeda <[email protected]> | 2024-03-27 17:55:55 +0000 |
|---|---|---|
| committer | Maxime Ripard <[email protected]> | 2024-03-28 10:14:39 +0000 |
| commit | 7cd78fd7e29644641b848d69a585f2aea45f0991 (patch) | |
| tree | 5a5acb300837d2567b599d1e1e91de9dbb65bfcc /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
| parent | drm/vmwgfx: Create debugfs ttm_resource_manager entry only if needed (diff) | |
| download | kernel-7cd78fd7e29644641b848d69a585f2aea45f0991.tar.gz kernel-7cd78fd7e29644641b848d69a585f2aea45f0991.zip | |
drm/qxl: remove unused `count` variable from `qxl_surface_id_alloc()`
Clang 14 in an (essentially) defconfig loongarch64 build for next-20240326
reports [1]:
drivers/gpu/drm/qxl/qxl_cmd.c:424:6: error: variable 'count' set
but not used [-Werror,-Wunused-but-set-variable]
The variable is already unused in the version that got into the tree.
Thus remove the unused variable.
Fixes: f64122c1f6ad ("drm: add new QXL driver. (v1.4)")
Closes: https://lore.kernel.org/lkml/CANiq72mjc5t4n25SQvYSrOEhxxpXYPZ4pPzneSJHEnc3qApu2Q@mail.gmail.com/ [1]
Closes: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Miguel Ojeda <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Maxime Ripard <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions
