summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormlelstv <mlelstv@NetBSD.org>2016-06-05 09:12:48 +0000
committermlelstv <mlelstv@NetBSD.org>2016-06-05 09:12:48 +0000
commit89f34df7cfe0118c717df56361aee5a23f300044 (patch)
treed4203d1da124a4915c1467b5c92851a348090ff2 /sys/dev
parentcfd015b2ede558ef540b7128d3dc0e2d628749a0 (diff)
wrong assertion.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/iscsi/iscsi_send.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/iscsi/iscsi_send.c b/sys/dev/iscsi/iscsi_send.c
index 131b6c080d5..6269f546b3c 100644
--- a/sys/dev/iscsi/iscsi_send.c
+++ b/sys/dev/iscsi/iscsi_send.c
@@ -1,4 +1,4 @@
-/* $NetBSD: iscsi_send.c,v 1.28 2016/06/05 09:09:57 mlelstv Exp $ */
+/* $NetBSD: iscsi_send.c,v 1.29 2016/06/05 09:12:48 mlelstv Exp $ */
/*-
* Copyright (c) 2004,2005,2006,2011 The NetBSD Foundation, Inc.
@@ -304,8 +304,6 @@ iscsi_send_thread(void *par)
TAILQ_REMOVE(&conn->pdus_to_send, pdu, send_chain);
mutex_exit(&conn->lock);
- KASSERT(!pdu->uio.uio_resid);
-
/* update ExpStatSN here to avoid discontinuities */
/* and delays in updating target */
pdu->pdu.p.command.ExpStatSN = htonl(conn->StatSN_buf.ExpSN);