Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/gemini Remove nonsensical KASSERT.
details: https://anonhg.NetBSD.org/src/rev/dc31c9efa20f
branches: trunk
changeset: 318898:dc31c9efa20f
user: maxv <maxv%NetBSD.org@localhost>
date: Wed May 09 06:55:26 2018 +0000
description:
Remove nonsensical KASSERT.
diffstat:
sys/arch/arm/gemini/gemini_gmac.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 87cfb6099b40 -r dc31c9efa20f sys/arch/arm/gemini/gemini_gmac.c
--- a/sys/arch/arm/gemini/gemini_gmac.c Wed May 09 06:49:48 2018 +0000
+++ b/sys/arch/arm/gemini/gemini_gmac.c Wed May 09 06:55:26 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gemini_gmac.c,v 1.14 2018/04/26 19:33:02 maxv Exp $ */
+/* $NetBSD: gemini_gmac.c,v 1.15 2018/05/09 06:55:26 maxv Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -49,7 +49,7 @@
#include <sys/gpio.h>
-__KERNEL_RCSID(0, "$NetBSD: gemini_gmac.c,v 1.14 2018/04/26 19:33:02 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gemini_gmac.c,v 1.15 2018/05/09 06:55:26 maxv Exp $");
#define SWFREEQ_DESCS 256 /* one page worth */
#define HWFREEQ_DESCS 256 /* one page worth */
@@ -853,7 +853,6 @@
case DESC0_RXSTS_GOOD:
case DESC0_RXSTS_LONG:
m->m_data += 2;
- KASSERT(m_length(m) == m->m_pkthdr.len);
if_percpuq_enqueue(ifp->if_percpuq, m);
break;
default:
Home |
Main Index |
Thread Index |
Old Index