summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorratchov <ratchov@openbsd.org>2017-01-03 06:39:44 +0000
committerratchov <ratchov@openbsd.org>2017-01-03 06:39:44 +0000
commit65dfe6998d1bb952b3a35738f7df438045e71f5c (patch)
tree6bdc431b9bb134c2811ddeed3dc672ca540957f5
parentIt takes a special style of creative writing to be unspecific about the error (diff)
downloadwireguard-openbsd-65dfe6998d1bb952b3a35738f7df438045e71f5c.tar.xz
wireguard-openbsd-65dfe6998d1bb952b3a35738f7df438045e71f5c.zip
No need to include sys/malloc.h. From Michael W. Bombardieri. Thanks.
-rw-r--r--sys/dev/midi.c3
-rw-r--r--sys/dev/usb/umidi_quirks.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/midi.c b/sys/dev/midi.c
index fdc43f17ac0..f0179a3d93a 100644
--- a/sys/dev/midi.c
+++ b/sys/dev/midi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: midi.c,v 1.41 2016/12/20 16:03:39 ratchov Exp $ */
+/* $OpenBSD: midi.c,v 1.42 2017/01/03 06:39:44 ratchov Exp $ */
/*
* Copyright (c) 2003, 2004 Alexandre Ratchov
@@ -26,7 +26,6 @@
#include <sys/timeout.h>
#include <sys/vnode.h>
#include <sys/signalvar.h>
-#include <sys/malloc.h>
#include <sys/device.h>
#include <dev/midi_if.h>
diff --git a/sys/dev/usb/umidi_quirks.c b/sys/dev/usb/umidi_quirks.c
index e1b47e04b1e..c316515fe95 100644
--- a/sys/dev/usb/umidi_quirks.c
+++ b/sys/dev/usb/umidi_quirks.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umidi_quirks.c,v 1.13 2015/03/14 03:38:50 jsg Exp $ */
+/* $OpenBSD: umidi_quirks.c,v 1.14 2017/01/03 06:39:44 ratchov Exp $ */
/* $NetBSD: umidi_quirks.c,v 1.4 2002/06/19 13:55:30 tshiozak Exp $ */
/*
@@ -33,7 +33,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
-#include <sys/malloc.h>
#include <sys/device.h>
#include <sys/ioctl.h>
#include <sys/conf.h>