Module Name: src
Committed By: skrll
Date: Thu Jun 30 16:34:56 UTC 2016
Modified Files:
src/sys/dev/ic: sl811hs.c
Log Message:
Remove dead code
To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/sys/dev/ic/sl811hs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ic/sl811hs.c
diff -u src/sys/dev/ic/sl811hs.c:1.86 src/sys/dev/ic/sl811hs.c:1.87
--- src/sys/dev/ic/sl811hs.c:1.86 Tue Jun 28 16:00:32 2016
+++ src/sys/dev/ic/sl811hs.c Thu Jun 30 16:34:56 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: sl811hs.c,v 1.86 2016/06/28 16:00:32 skrll Exp $ */
+/* $NetBSD: sl811hs.c,v 1.87 2016/06/30 16:34:56 skrll Exp $ */
/*
* Not (c) 2007 Matthew Orgass
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.86 2016/06/28 16:00:32 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.87 2016/06/30 16:34:56 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_slhci.h"
@@ -2210,13 +2210,6 @@ status_setup:
LK_SLASSERT(xfer->ux_actlen <= xfer->ux_length, sc,
spipe, xfer, return);
xfer->ux_status = USBD_NORMAL_COMPLETION;
-#if 0 /* usb_transfer_complete will do this */
- if (xfer->ux_length == xfer->ux_actlen || xfer->ux_flags &
- USBD_SHORT_XFER_OK)
- xfer->ux_status = USBD_NORMAL_COMPLETION;
- else
- xfer->ux_status = USBD_SHORT_XFER;
-#endif
}
}