Source-Changes-HG archive

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

[src/trunk]: src/sys Remove obsoleted comments.



details:   https://anonhg.NetBSD.org/src/rev/6b19407751b5
branches:  trunk
changeset: 368700:6b19407751b5
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Fri Jul 29 07:35:16 2022 +0000

description:
Remove obsoleted comments.

These comments are added with IFNET_LOCK by in_pcb.c:r1.180 and
in6_pcb.c:r1.162.  And then, IFNET_LOCK codes are removed in
in_pcb.c:r1.183 and in6_pcb.c:r1.166, however the comments have
remained.

diffstat:

 sys/netinet/in_pcb.c   |  5 ++---
 sys/netinet6/in6_pcb.c |  5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diffs (52 lines):

diff -r ea6e963fcb07 -r 6b19407751b5 sys/netinet/in_pcb.c
--- a/sys/netinet/in_pcb.c      Thu Jul 28 22:00:23 2022 +0000
+++ b/sys/netinet/in_pcb.c      Fri Jul 29 07:35:16 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in_pcb.c,v 1.188 2022/06/10 09:51:10 knakahara Exp $   */
+/*     $NetBSD: in_pcb.c,v 1.189 2022/07/29 07:35:16 knakahara Exp $   */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -93,7 +93,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in_pcb.c,v 1.188 2022/06/10 09:51:10 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in_pcb.c,v 1.189 2022/07/29 07:35:16 knakahara Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -785,7 +785,6 @@
                        need_unlock = true;
                }
 
-               /* IFNET_LOCK must be taken after solock */
                in_purgeifmcast(inp->inp_moptions, ifp);
 
                if (need_unlock)
diff -r ea6e963fcb07 -r 6b19407751b5 sys/netinet6/in6_pcb.c
--- a/sys/netinet6/in6_pcb.c    Thu Jul 28 22:00:23 2022 +0000
+++ b/sys/netinet6/in6_pcb.c    Fri Jul 29 07:35:16 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in6_pcb.c,v 1.168 2022/06/09 07:01:27 knakahara Exp $  */
+/*     $NetBSD: in6_pcb.c,v 1.169 2022/07/29 07:35:16 knakahara Exp $  */
 /*     $KAME: in6_pcb.c,v 1.84 2001/02/08 18:02:08 itojun Exp $        */
 
 /*
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in6_pcb.c,v 1.168 2022/06/09 07:01:27 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in6_pcb.c,v 1.169 2022/07/29 07:35:16 knakahara Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -884,7 +884,6 @@
                        }
                }
 
-               /* IFNET_LOCK must be taken after solock */
                in_purgeifmcast(in6p->in6p_v4moptions, ifp);
 
                if (need_unlock)



Home | Main Index | Thread Index | Old Index