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 unused macros
details: https://anonhg.NetBSD.org/src/rev/141984deb363
branches: trunk
changeset: 352488:141984deb363
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Tue Apr 04 09:53:02 2017 +0000
description:
Get rid of unused macros
diffstat:
sys/netinet/if_arp.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 600543c6014a -r 141984deb363 sys/netinet/if_arp.c
--- a/sys/netinet/if_arp.c Tue Apr 04 09:26:32 2017 +0000
+++ b/sys/netinet/if_arp.c Tue Apr 04 09:53:02 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_arp.c,v 1.247 2017/03/17 16:15:11 roy Exp $ */
+/* $NetBSD: if_arp.c,v 1.248 2017/04/04 09:53:02 ozaki-r Exp $ */
/*-
* Copyright (c) 1998, 2000, 2008 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_arp.c,v 1.247 2017/03/17 16:15:11 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_arp.c,v 1.248 2017/04/04 09:53:02 ozaki-r Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -133,9 +133,6 @@
#include <netinet/ip_carp.h>
#endif
-#define SIN(s) ((struct sockaddr_in *)s)
-#define SRP(s) ((struct sockaddr_inarp *)s)
-
/*
* ARP trailer negotiation. Trailer protocol is not IP specific,
* but ARP request/response use IP addresses.
Home |
Main Index |
Thread Index |
Old Index