Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net CID 1358673: dead code
details: https://anonhg.NetBSD.org/src/rev/ac17d1a1a2c5
branches: trunk
changeset: 344857:ac17d1a1a2c5
user: christos <christos%NetBSD.org@localhost>
date: Sun Apr 24 18:08:40 2016 +0000
description:
CID 1358673: dead code
diffstat:
sys/net/if_bridge.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 0b386581fd6e -r ac17d1a1a2c5 sys/net/if_bridge.c
--- a/sys/net/if_bridge.c Sun Apr 24 17:56:31 2016 +0000
+++ b/sys/net/if_bridge.c Sun Apr 24 18:08:40 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_bridge.c,v 1.118 2016/04/22 00:25:42 roy Exp $ */
+/* $NetBSD: if_bridge.c,v 1.119 2016/04/24 18:08:40 christos Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -80,7 +80,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.118 2016/04/22 00:25:42 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.119 2016/04/24 18:08:40 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_bridge_ipf.h"
@@ -1784,8 +1784,6 @@
if (bridge_ourether(_bif, eh, 0)) {
bridge_acquire_member(sc, _bif, &_psref);
BRIDGE_PSZ_REXIT(s);
- if (_bif == NULL)
- goto out;
if (_bif->bif_flags & IFBIF_LEARNING)
(void) bridge_rtupdate(sc,
eh->ether_shost, ifp, 0, IFBAF_DYNAMIC);
Home |
Main Index |
Thread Index |
Old Index