Module Name: src
Committed By: jakllsch
Date: Fri Sep 10 14:56:26 UTC 2021
Modified Files:
src/sys/dev/pci: if_et.c
Log Message:
if_et.c: nothing in this driver needs netinet includes now,
so drop #include "opt_inet.h" and the includes of netinet headers
conditioned on it.
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/dev/pci/if_et.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/if_et.c
diff -u src/sys/dev/pci/if_et.c:1.34 src/sys/dev/pci/if_et.c:1.35
--- src/sys/dev/pci/if_et.c:1.34 Fri Sep 10 14:43:04 2021
+++ src/sys/dev/pci/if_et.c Fri Sep 10 14:56:26 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: if_et.c,v 1.34 2021/09/10 14:43:04 jakllsch Exp $ */
+/* $NetBSD: if_et.c,v 1.35 2021/09/10 14:56:26 jakllsch Exp $ */
/* $OpenBSD: if_et.c,v 1.12 2008/07/11 09:29:02 kevlo $ */
/*
* Copyright (c) 2007 The DragonFly Project. All rights reserved.
@@ -37,9 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_et.c,v 1.34 2021/09/10 14:43:04 jakllsch Exp $");
-
-#include "opt_inet.h"
+__KERNEL_RCSID(0, "$NetBSD: if_et.c,v 1.35 2021/09/10 14:56:26 jakllsch Exp $");
#include <sys/param.h>
#include <sys/endian.h>
@@ -61,14 +59,6 @@ __KERNEL_RCSID(0, "$NetBSD: if_et.c,v 1.
#include <net/if_ether.h>
#include <net/if_arp.h>
-#ifdef INET
-#include <netinet/in.h>
-#include <netinet/in_systm.h>
-#include <netinet/in_var.h>
-#include <netinet/ip.h>
-#include <netinet/if_inarp.h>
-#endif
-
#include <net/bpf.h>
#include <dev/mii/mii.h>