summaryrefslogtreecommitdiff
path: root/sys/dev/usb/umidi.c
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2002-07-25 04:07:34 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2002-07-25 04:07:34 +0000
commitff75e6b52299475bbbcb31c8bf74c4cffc01f703 (patch)
treeb008c21a0b370a47779abf412697c85a3180eb0c /sys/dev/usb/umidi.c
parentdea1b65268ac6e279e7f4c479fb8566509353f66 (diff)
update $NetBSD$ tags
Diffstat (limited to 'sys/dev/usb/umidi.c')
-rw-r--r--sys/dev/usb/umidi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/usb/umidi.c b/sys/dev/usb/umidi.c
index 8829f586750..fbb40cd1060 100644
--- a/sys/dev/usb/umidi.c
+++ b/sys/dev/usb/umidi.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: umidi.c,v 1.5 2002/07/25 02:18:11 nate Exp $ */
-/* $NetBSD: umidi.c,v 1.15 2002/06/19 13:51:34 tshiozak Exp $ */
+/* $OpenBSD: umidi.c,v 1.6 2002/07/25 04:07:33 nate Exp $ */
+/* $NetBSD: umidi.c,v 1.16 2002/07/11 21:14:32 augustss Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -987,7 +987,6 @@ alloc_all_mididevs(struct umidi_softc *sc, int nmidi)
sc->sc_mididevs = malloc(sizeof(*sc->sc_mididevs)*nmidi,
M_USBDEV, M_WAITOK);
memset(sc->sc_mididevs, 0, sizeof(*sc->sc_mididevs)*nmidi);
-
if (!sc->sc_mididevs)
return USBD_NOMEM;