Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/sys Remove unused macro definitions. OK'd by pgoy...



details:   https://anonhg.NetBSD.org/src/rev/b473c1e27866
branches:  trunk
changeset: 998225:b473c1e27866
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Apr 11 04:42:08 2019 +0000

description:
Remove unused macro definitions. OK'd by pgoyette.

diffstat:

 sys/compat/sys/socket.h |   6 +-----
 sys/compat/sys/sockio.h |  26 +-------------------------
 2 files changed, 2 insertions(+), 30 deletions(-)

diffs (60 lines):

diff -r 3e95d7666dec -r b473c1e27866 sys/compat/sys/socket.h
--- a/sys/compat/sys/socket.h   Thu Apr 11 04:28:17 2019 +0000
+++ b/sys/compat/sys/socket.h   Thu Apr 11 04:42:08 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: socket.h,v 1.17 2019/01/27 02:08:41 pgoyette Exp $     */
+/*     $NetBSD: socket.h,v 1.18 2019/04/11 04:42:08 msaitoh Exp $      */
 
 /*
  * Copyright (c) 1982, 1985, 1986, 1988, 1993, 1994
@@ -46,10 +46,6 @@
 #define COMPAT_OSOCK
 #endif
 
-#ifdef COMPAT_70
-#define COMPAT_SOCKCRED70
-#endif
-
 #else
 #define COMPAT_OSOCK
 #endif
diff -r 3e95d7666dec -r b473c1e27866 sys/compat/sys/sockio.h
--- a/sys/compat/sys/sockio.h   Thu Apr 11 04:28:17 2019 +0000
+++ b/sys/compat/sys/sockio.h   Thu Apr 11 04:42:08 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sockio.h,v 1.15 2019/04/10 04:37:00 msaitoh Exp $      */
+/*     $NetBSD: sockio.h,v 1.16 2019/04/11 04:42:08 msaitoh Exp $      */
 
 /*-
  * Copyright (c) 1982, 1986, 1990, 1993, 1994
@@ -32,30 +32,6 @@
 #ifndef _COMPAT_SYS_SOCKIO_H_
 #define        _COMPAT_SYS_SOCKIO_H_
 
-#ifdef _KERNEL_OPT
-
-#include "opt_compat_netbsd.h"
-#include "opt_modular.h"
-
-#include <sys/ioccom.h>
-
-#if defined(COMPAT_09) || defined(COMPAT_10) || defined(COMPAT_11) || \
-    defined(COMPAT_12) || defined(COMPAT_13) || defined(COMPAT_14) || \
-    defined(COMPAT_15) || defined(COMPAT_16) || defined(COMPAT_20) || \
-    defined(COMPAT_30) || defined(COMPAT_40) || defined(MODULAR)
-#define COMPAT_OIFREQ
-#endif
-
-#if defined(COMPAT_09) || defined(COMPAT_10) || defined(COMPAT_11) || \
-    defined(COMPAT_12) || defined(COMPAT_13) || defined(COMPAT_14) || \
-    defined(COMPAT_15) || defined(COMPAT_16) || defined(COMPAT_20) || \
-    defined(COMPAT_30) || defined(COMPAT_40) || defined(COMPAT_50) || \
-    defined(MODULAR)
-#define COMPAT_OIFDATA
-#endif
-
-#endif /* _KERNEL_OPT */
-
 #define OIFNAMSIZ      16
 
 struct oifreq {



Home | Main Index | Thread Index | Old Index