Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Remove an XXX of mine, actually it's fine. While her...



details:   https://anonhg.NetBSD.org/src/rev/07264cbf9e84
branches:  trunk
changeset: 319436:07264cbf9e84
user:      maxv <maxv%NetBSD.org@localhost>
date:      Tue May 29 16:24:34 2018 +0000

description:
Remove an XXX of mine, actually it's fine. While here also remove a
misleading printf.

diffstat:

 sys/net/if_ethersubr.c |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (37 lines):

diff -r e3e0c5fb318d -r 07264cbf9e84 sys/net/if_ethersubr.c
--- a/sys/net/if_ethersubr.c    Tue May 29 16:21:30 2018 +0000
+++ b/sys/net/if_ethersubr.c    Tue May 29 16:24:34 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ethersubr.c,v 1.267 2018/05/29 08:24:59 maxv Exp $  */
+/*     $NetBSD: if_ethersubr.c,v 1.268 2018/05/29 16:24:34 maxv Exp $  */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.267 2018/05/29 08:24:59 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.268 2018/05/29 16:24:34 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -307,9 +307,6 @@
                KERNEL_LOCK(1, NULL);
 
                if (!aarpresolve(ifp, m, (const struct sockaddr_at *)dst, edst)) {
-#ifdef NETATALKDEBUG
-                       printf("aarpresolve failed\n");
-#endif
                        KERNEL_UNLOCK_ONE(NULL);
                        return 0;
                }
@@ -329,8 +326,6 @@
                /*
                 * In the phase 2 case, we need to prepend an mbuf for the
                 * llc header.
-                *
-                * XXX XXX: Do we need to preserve the value of m?
                 */
                if (aa->aa_flags & AFA_PHASE2) {
                        struct llc llc;



Home | Main Index | Thread Index | Old Index