diff mbox series

[05/17] rt-tests: cyclicdeadline: Suppress unused parameter warning

Message ID 20231006184011.26699-5-jkacur@redhat.com
State New
Headers show
Series [01/17] rt-tests: cyclictest: Remove warnings due different signedness in comparison | expand

Commit Message

John Kacur Oct. 6, 2023, 6:39 p.m. UTC
Suppress unused parameter warning in cyclicdeadline

Signed-off-by: John Kacur <jkacur@redhat.com>
---
 src/sched_deadline/cyclicdeadline.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/sched_deadline/cyclicdeadline.c b/src/sched_deadline/cyclicdeadline.c
index ef00a0d6b2dd..b477cc7aa8ff 100644
--- a/src/sched_deadline/cyclicdeadline.c
+++ b/src/sched_deadline/cyclicdeadline.c
@@ -1030,7 +1030,7 @@  static int calc_nr_cpus(const char *setcpu, char **buf)
 	return -1;
 }
 
-static void sighand(int sig)
+static void sighand(int sig __attribute__ ((unused)))
 {
 	shutdown = 1;
 }