diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2009-09-13 18:16:16 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2009-09-13 18:16:16 +0000 |
commit | 35aee04f0475c85fd9c845a9c3982043cd7b98a7 (patch) | |
tree | 742a7f6245c297a76680af387445833a3b544c80 /sys/dev/usb | |
parent | 72c9514b3fe03e2af58b7386b4ea1b1b8d03bb73 (diff) |
Remove (last) obsolete panic() case.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/udl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/udl.c b/sys/dev/usb/udl.c index 81ea0b055e9..51d4f2c92e2 100644 --- a/sys/dev/usb/udl.c +++ b/sys/dev/usb/udl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udl.c,v 1.40 2009/09/13 10:40:08 mglocker Exp $ */ +/* $OpenBSD: udl.c,v 1.41 2009/09/13 18:16:15 mglocker Exp $ */ /* * Copyright (c) 2009 Marcus Glocker <mglocker@openbsd.org> @@ -1429,8 +1429,8 @@ udl_cmd_send_async(struct udl_softc *sc) break; } if (i == UDL_CMD_XFER_COUNT) { - /* XXX this shouldn't happen */ - panic("udl_cmd_send_async: buffer full"); + /* this shouldn't happen */ + return (USBD_IN_USE); } cx = &sc->sc_cmd_xfer[i]; |