Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Remove extra SIOCSIFMEDIA check.



details:   https://anonhg.NetBSD.org/src/rev/ff5e32b932b0
branches:  trunk
changeset: 450670:ff5e32b932b0
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Apr 22 06:35:39 2019 +0000

description:
Remove extra SIOCSIFMEDIA check.

diffstat:

 sys/dev/pci/if_jme.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 38d890fdb577 -r ff5e32b932b0 sys/dev/pci/if_jme.c
--- a/sys/dev/pci/if_jme.c      Mon Apr 22 06:09:19 2019 +0000
+++ b/sys/dev/pci/if_jme.c      Mon Apr 22 06:35:39 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_jme.c,v 1.38 2019/02/05 06:17:03 msaitoh Exp $      */
+/*     $NetBSD: if_jme.c,v 1.39 2019/04/22 06:35:39 msaitoh Exp $      */
 
 /*
  * Copyright (c) 2008 Manuel Bouyer.  All rights reserved.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_jme.c,v 1.38 2019/02/05 06:17:03 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_jme.c,v 1.39 2019/04/22 06:35:39 msaitoh Exp $");
 
 
 #include <sys/param.h>
@@ -76,9 +76,7 @@
 #include <sys/sysctl.h>
 
 #include <net/if.h>
-#if defined(SIOCSIFMEDIA)
 #include <net/if_media.h>
-#endif
 #include <net/if_types.h>
 #include <net/if_dl.h>
 #include <net/route.h>



Home | Main Index | Thread Index | Old Index