diff mbox series

[3/3] swaponoff.h: Remove useless header

Message ID 20231205061639.68656-3-xuyang2018.jy@fujitsu.com
State Superseded
Headers show
Series [1/3] libltpswap: Add get_maxswapfiles api | expand

Commit Message

Yang Xu \(Fujitsu\) Dec. 5, 2023, 6:16 a.m. UTC
Since we have use get_maxswapfiles() api in swapon03.c, so this header
is useless and can be removed safely.

Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
---
 testcases/kernel/syscalls/swapon/swaponoff.h | 8 --------
 1 file changed, 8 deletions(-)
 delete mode 100644 testcases/kernel/syscalls/swapon/swaponoff.h
diff mbox series

Patch

diff --git a/testcases/kernel/syscalls/swapon/swaponoff.h b/testcases/kernel/syscalls/swapon/swaponoff.h
deleted file mode 100644
index 900761bda..000000000
--- a/testcases/kernel/syscalls/swapon/swaponoff.h
+++ /dev/null
@@ -1,8 +0,0 @@ 
-
-#ifndef __SWAP_ON_OFF_H_
-#define __SWAP_ON_OFF_H_
-
-#include <linux/version.h>
-#define MAX_SWAPFILES 30
-
-#endif