Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netatalk remove KASSERT(nam != NULL) from ddp_send() the...
details: https://anonhg.NetBSD.org/src/rev/405dc63032d9
branches: trunk
changeset: 331274:405dc63032d9
user: rtr <rtr%NetBSD.org@localhost>
date: Thu Aug 07 01:02:30 2014 +0000
description:
remove KASSERT(nam != NULL) from ddp_send() the following code makes
the validity of it questionable. we'll investigate later whether it
can be put back and the code simplified.
diffstat:
sys/netatalk/ddp_usrreq.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 498b8afea8fc -r 405dc63032d9 sys/netatalk/ddp_usrreq.c
--- a/sys/netatalk/ddp_usrreq.c Wed Aug 06 22:16:38 2014 +0000
+++ b/sys/netatalk/ddp_usrreq.c Thu Aug 07 01:02:30 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ddp_usrreq.c,v 1.59 2014/08/05 07:55:31 rtr Exp $ */
+/* $NetBSD: ddp_usrreq.c,v 1.60 2014/08/07 01:02:30 rtr Exp $ */
/*
* Copyright (c) 1990,1991 Regents of The University of Michigan.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ddp_usrreq.c,v 1.59 2014/08/05 07:55:31 rtr Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ddp_usrreq.c,v 1.60 2014/08/07 01:02:30 rtr Exp $");
#include "opt_mbuftrace.h"
@@ -545,7 +545,6 @@
KASSERT(solocked(so));
KASSERT(ddp != NULL);
- KASSERT(nam != NULL);
if (nam) {
if (ddp->ddp_fsat.sat_port != ATADDR_ANYPORT)
Home |
Main Index |
Thread Index |
Old Index