Source-Changes-HG archive

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

[src/trunk]: src/sys/net Set unused pr_input field to NULL, discussed on tech...



details:   https://anonhg.NetBSD.org/src/rev/167da641b120
branches:  trunk
changeset: 433307:167da641b120
user:      maxv <maxv%NetBSD.org@localhost>
date:      Fri Sep 07 06:08:16 2018 +0000

description:
Set unused pr_input field to NULL, discussed on tech-net@.

diffstat:

 sys/net/rtsock.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 5615a131da28 -r 167da641b120 sys/net/rtsock.c
--- a/sys/net/rtsock.c  Fri Sep 07 02:25:40 2018 +0000
+++ b/sys/net/rtsock.c  Fri Sep 07 06:08:16 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rtsock.c,v 1.242 2018/08/31 15:15:23 maxv Exp $        */
+/*     $NetBSD: rtsock.c,v 1.243 2018/09/07 06:08:16 maxv Exp $        */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtsock.c,v 1.242 2018/08/31 15:15:23 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtsock.c,v 1.243 2018/09/07 06:08:16 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -2063,7 +2063,6 @@
                .pr_type = SOCK_RAW,
                .pr_domain = &COMPATNAME(routedomain),
                .pr_flags = PR_ATOMIC|PR_ADDR,
-               .pr_input = raw_input,
                .pr_ctlinput = raw_ctlinput,
                .pr_ctloutput = route_ctloutput,
                .pr_usrreqs = &route_usrreqs,



Home | Main Index | Thread Index | Old Index