git: 78d34c77f425 - stable/14 - linux(4): Deduplicate SystemV IPC defines from amd64/linux

From: Dmitry Chagin <dchagin_at_FreeBSD.org>
Date: Tue, 10 Oct 2023 09:06:43 UTC
The branch stable/14 has been updated by dchagin:

URL: https://cgit.FreeBSD.org/src/commit/?id=78d34c77f42525f9a4005a5e751ee1ead94d4763

commit 78d34c77f42525f9a4005a5e751ee1ead94d4763
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2023-10-04 18:18:45 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2023-10-10 09:06:28 +0000

    linux(4): Deduplicate SystemV IPC defines from amd64/linux
    
    MFC after:              1 week
    
    (cherry picked from commit 4fe779900b5d9359969426d44679d28d3178604e)
---
 sys/amd64/linux/linux.h | 28 ----------------------------
 1 file changed, 28 deletions(-)

diff --git a/sys/amd64/linux/linux.h b/sys/amd64/linux/linux.h
index 4603835e15e6..918b9129f47b 100644
--- a/sys/amd64/linux/linux.h
+++ b/sys/amd64/linux/linux.h
@@ -188,34 +188,6 @@ typedef struct {
 #define	LINUX_MS_NOEXEC		0x0008
 #define	LINUX_MS_REMOUNT	0x0020
 
-/*
- * SystemV IPC defines
- */
-#define	LINUX_IPC_RMID		0
-#define	LINUX_IPC_SET		1
-#define	LINUX_IPC_STAT		2
-#define	LINUX_IPC_INFO		3
-
-#define	LINUX_SHM_LOCK		11
-#define	LINUX_SHM_UNLOCK	12
-#define	LINUX_SHM_STAT		13
-#define	LINUX_SHM_INFO		14
-
-#define	LINUX_SHM_RDONLY	0x1000
-#define	LINUX_SHM_RND		0x2000
-#define	LINUX_SHM_REMAP		0x4000
-
-/* semctl commands */
-#define	LINUX_GETPID		11
-#define	LINUX_GETVAL		12
-#define	LINUX_GETALL		13
-#define	LINUX_GETNCNT		14
-#define	LINUX_GETZCNT		15
-#define	LINUX_SETVAL		16
-#define	LINUX_SETALL		17
-#define	LINUX_SEM_STAT		18
-#define	LINUX_SEM_INFO		19
-
 union l_semun {
 	l_int		val;
 	l_uintptr_t	buf;