Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet Get rid of unnecessary satosin



details:   https://anonhg.NetBSD.org/src/rev/f265974988a2
branches:  trunk
changeset: 346575:f265974988a2
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Wed Jul 20 03:36:51 2016 +0000

description:
Get rid of unnecessary satosin

diffstat:

 sys/netinet/in.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e7e8eff4a087 -r f265974988a2 sys/netinet/in.c
--- a/sys/netinet/in.c  Tue Jul 19 21:25:38 2016 +0000
+++ b/sys/netinet/in.c  Wed Jul 20 03:36:51 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in.c,v 1.175 2016/07/14 18:18:16 christos Exp $        */
+/*     $NetBSD: in.c,v 1.176 2016/07/20 03:36:51 ozaki-r Exp $ */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in.c,v 1.175 2016/07/14 18:18:16 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in.c,v 1.176 2016/07/20 03:36:51 ozaki-r Exp $");
 
 #include "arp.h"
 
@@ -1581,7 +1581,7 @@
        else
                printf("%s: missing ifa_getifa\n", __func__);
 #endif
-       return satosin(&ia->ia_addr);
+       return &ia->ia_addr;
 }
 
 #if NARP > 0



Home | Main Index | Thread Index | Old Index