aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-generate-rtl-pass.h
diff options
context:
space:
mode:
authorMiguel Ojeda <[email protected]>2024-03-27 17:55:56 +0000
committerMaxime Ripard <[email protected]>2024-03-28 10:15:48 +0000
commitaba2a144c0bf1ecdcbc520525712fb661392e509 (patch)
tree6674b267be72d3fcbca6aaed16cabe40300a1ccd /scripts/gcc-plugins/gcc-generate-rtl-pass.h
parentdrm/qxl: remove unused `count` variable from `qxl_surface_id_alloc()` (diff)
downloadkernel-aba2a144c0bf1ecdcbc520525712fb661392e509.tar.gz
kernel-aba2a144c0bf1ecdcbc520525712fb661392e509.zip
drm/qxl: remove unused variable from `qxl_process_single_command()`
Clang 14 in an (essentially) defconfig loongarch64 build for next-20240327 reports [1]: drivers/gpu/drm/qxl/qxl_ioctl.c:148:14: error: variable 'num_relocs' set but not used [-Werror,-Wunused-but-set-variable] The variable was originally used in the `out_free_bos` label, but commit 74d9a6335dce ("drm/qxl: Simplify cleaning qxl processing command") removed the use that happened in that label. Thus remove the unused variable. Fixes: 74d9a6335dce ("drm/qxl: Simplify cleaning qxl processing command") Closes: https://lore.kernel.org/lkml/CANiq72kqqQfUxLkHJYqeBAhpc6YcX7bfR96gmmbF=j8hEOykqw@mail.gmail.com/ [1] 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