diff mbox series

[v3,4/7] swaponoff.h: Remove useless header

Message ID 20240208100517.1974-4-xuyang2018.jy@fujitsu.com
State Superseded
Headers show
Series [v3,1/7] libltpswap: Add tst_max_swapfiles api | expand

Commit Message

Yang Xu \(Fujitsu\) Feb. 8, 2024, 10:05 a.m. UTC
Since we have use tst_max_swapfiles() 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