Skip to contentSkip to conversation

testsuite/latency: Remove unused include of syscall.h

PATCH Applied Haiyang He 2 participants 2 messages May 25, 2025 – May 26, 2025

lore
Share & tools
lore

Haiyang He

author
#0 lore raw

PATCH 1/1 testsuite/latency: Remove unused include of syscall.h

No functional change intended.

---
 testsuite/latency/latency.c | 2 --
 1 file changed, 2 deletions(-)
testsuite/latency/latency.c +0 -2
index fe688b9b8..0b6964bb9 100644
@@ -556,8 +556,6 @@ static void faulthand(int sig)
 
 #ifdef CONFIG_XENO_COBALT
 
-#include <cobalt/uapi/syscall.h>
-
 static const char *reason_str[] = {
 	[SIGDEBUG_UNDEFINED] = "received SIGDEBUG for unknown reason",
 	[SIGDEBUG_MIGRATE_SIGNAL] = "received signal",
Signature · 1 line
2.34.1
Applied
#1 lore raw
Quoted 12 lines · Haiyang He

No functional change intended.

---
 testsuite/latency/latency.c | 2 --
 1 file changed, 2 deletions(-)
testsuite/latency/latency.c +0 -0
index fe688b9b8..0b6964bb9 100644

testsuite/latency/latency.c static void faulthand(int sig) · line 561

Quoted 8 lines
testsuite/latency/latency.c +0 -2
@@ -556,8 +556,6 @@ static void faulthand(int sig)
 
 #ifdef CONFIG_XENO_COBALT
 
-#include <cobalt/uapi/syscall.h>
-
 static const char *reason_str[] = {
 	[SIGDEBUG_UNDEFINED] = "received SIGDEBUG for unknown reason",
 	[SIGDEBUG_MIGRATE_SIGNAL] = "received signal",

Thanks, applied with this additional explanation:

"Since 35e291db9ba9, SIGDEBUG* definitions are coming via signal.h, so we can drop this include."

Jan

Signature · 2 lines
Siemens AG, Foundational Technologies
Linux Expert Center