Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netiso Remove ifa == NULL check, ifa cannot be NULL.
details: https://anonhg.NetBSD.org/src/rev/fe6a1b634d3d
branches: trunk
changeset: 763076:fe6a1b634d3d
user: dyoung <dyoung%NetBSD.org@localhost>
date: Wed Mar 09 22:04:52 2011 +0000
description:
Remove ifa == NULL check, ifa cannot be NULL.
diffstat:
sys/netiso/if_eon.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r d65b10194b4b -r fe6a1b634d3d sys/netiso/if_eon.c
--- a/sys/netiso/if_eon.c Wed Mar 09 21:52:31 2011 +0000
+++ b/sys/netiso/if_eon.c Wed Mar 09 22:04:52 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_eon.c,v 1.69 2008/11/07 00:20:18 dyoung Exp $ */
+/* $NetBSD: if_eon.c,v 1.70 2011/03/09 22:04:52 dyoung Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_eon.c,v 1.69 2008/11/07 00:20:18 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_eon.c,v 1.70 2011/03/09 22:04:52 dyoung Exp $");
#include "opt_eon.h"
@@ -191,8 +191,6 @@
switch (cmd) {
case SIOCINITIFADDR:
- if (ifa == NULL)
- break;
ifp->if_flags |= IFF_UP;
if (ifa->ifa_addr->sa_family != AF_LINK)
ifa->ifa_rtrequest = eonrtrequest;
Home |
Main Index |
Thread Index |
Old Index