diff options
-rw-r--r-- | net/hsr/hsr_framereg.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/hsr/hsr_framereg.c b/net/hsr/hsr_framereg.c index c709c13842cb..bace124d14ef 100644 --- a/net/hsr/hsr_framereg.c +++ b/net/hsr/hsr_framereg.c | |||
@@ -290,10 +290,6 @@ void hsr_addr_subst_dest(struct hsr_node *node_src, struct sk_buff *skb, | |||
290 | } | 290 | } |
291 | if (port->type != node_dst->AddrB_port) | 291 | if (port->type != node_dst->AddrB_port) |
292 | return; | 292 | return; |
293 | if (!node_dst->MacAddressB) { | ||
294 | WARN_ONCE(1, "%s: No MacAddressB\n", __func__); | ||
295 | return; | ||
296 | } | ||
297 | 293 | ||
298 | ether_addr_copy(eth_hdr(skb)->h_dest, node_dst->MacAddressB); | 294 | ether_addr_copy(eth_hdr(skb)->h_dest, node_dst->MacAddressB); |
299 | } | 295 | } |