public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/amdgpu/amd_fuzzing: Remove unused variable
@ 2026-04-02  8:50 Karthik B S
  2026-04-02  9:58 ` ✓ Xe.CI.BAT: success for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Karthik B S @ 2026-04-02  8:50 UTC (permalink / raw)
  To: igt-dev
  Cc: kamil.konieczny, kunal1.joshi, Karthik B S, Jesse Zhang,
	Vitaly Prosyak

Fix compilation warning:

[1694/2119] Compiling C object tests/amdgpu/amd_fuzzing.p/amd_fuzzing.c.o
../tests/amdgpu/amd_fuzzing.c: In function ‘amd_kgd_multi_ioctl_field_fuzzing’:
../tests/amdgpu/amd_fuzzing.c:298:14: warning: unused variable ‘have_amdgpu_dev’ [-Wunused-variable]
  298 |         bool have_amdgpu_dev = (amdgpu_dev != NULL);
      |              ^~~~~~~~~~~~~~~

Cc: Jesse Zhang <jesse.zhang@amd.com>
Cc: Vitaly Prosyak <vitaly.prosyak@amd.com>
Fixes: 49cf0900dd23 ("tests/amdgpu: add field-level negative ioctl fuzzing tests")
Signed-off-by: Karthik B S <karthik.b.s@intel.com>
---
 tests/amdgpu/amd_fuzzing.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/amdgpu/amd_fuzzing.c b/tests/amdgpu/amd_fuzzing.c
index 21dab4afe..00717e593 100644
--- a/tests/amdgpu/amd_fuzzing.c
+++ b/tests/amdgpu/amd_fuzzing.c
@@ -295,7 +295,6 @@ amd_kgd_multi_ioctl_field_fuzzing(int fd, amdgpu_device_handle amdgpu_dev)
 	uint32_t valid_bo_handle = 0;
 	bool have_valid_ctx = false;
 	bool have_valid_bo = false;
-	bool have_amdgpu_dev = (amdgpu_dev != NULL);
 
 	memset(&valid_ctx, 0, sizeof(valid_ctx));
 	valid_ctx.in.op = AMDGPU_CTX_OP_ALLOC_CTX;
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-04-03  5:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-02  8:50 [PATCH i-g-t] tests/amdgpu/amd_fuzzing: Remove unused variable Karthik B S
2026-04-02  9:58 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-04-02 10:02 ` ✓ i915.CI.BAT: " Patchwork
2026-04-02 12:23 ` [PATCH i-g-t] " vitaly prosyak
2026-04-02 14:43   ` Karthik B S
2026-04-02 16:59 ` ✓ Xe.CI.FULL: success for " Patchwork
2026-04-03  5:28 ` ✗ i915.CI.Full: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox