summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_rsu.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-24 13:45:08 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-24 13:45:08 +0000
commitf83b0dac3652830f33e53ab2d11a9d0945cb4a86 (patch)
treecab30afb1f72b5c2b352cf80fec675f53d330d4b /sys/dev/usb/if_rsu.c
parent37a6daf2960b4307d7f92853384985b2f9725837 (diff)
No need to include <net/if_arp.h>
This header is only needed because <netinet/if_ether.h> declares a structure that needs it. But it turns out that <net/if.h> already includes it as workaround. A proper solution would be to stop declarting "struct ether_arp" there. But no driver should need this header.
Diffstat (limited to 'sys/dev/usb/if_rsu.c')
-rw-r--r--sys/dev/usb/if_rsu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/usb/if_rsu.c b/sys/dev/usb/if_rsu.c
index eeb46f69254..8d8755899b1 100644
--- a/sys/dev/usb/if_rsu.c
+++ b/sys/dev/usb/if_rsu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_rsu.c,v 1.30 2015/11/24 13:33:18 mpi Exp $ */
+/* $OpenBSD: if_rsu.c,v 1.31 2015/11/24 13:45:06 mpi Exp $ */
/*-
* Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
@@ -39,7 +39,6 @@
#include <net/bpf.h>
#endif
#include <net/if.h>
-#include <net/if_arp.h>
#include <net/if_dl.h>
#include <net/if_media.h>