WSL2-Linux-Kernel/net/hsr
Arvid Brodin 279f64b7a7 net/hsr: Remove left-over never-true conditional code.
MacAddressB is an array (unsigned char MacAddressB[ETH_ALEN]) and is allocated
as a part of *node_dst (which is a struct hsr_node). So the condition is always
false.

Detected by Dan Carpenter.

Signed-off-by: Arvid Brodin <arvid.brodin@alten.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-07-11 15:04:40 -07:00
..
Kconfig
Makefile net/hsr: Better frame dispatch 2014-07-08 11:35:31 -07:00
hsr_device.c net/hsr: Better frame dispatch 2014-07-08 11:35:31 -07:00
hsr_device.h net/hsr: Operstate handling cleanup. 2014-07-08 11:35:30 -07:00
hsr_forward.c net/hsr: Better frame dispatch 2014-07-08 11:35:31 -07:00
hsr_forward.h net/hsr: Better frame dispatch 2014-07-08 11:35:31 -07:00
hsr_framereg.c net/hsr: Remove left-over never-true conditional code. 2014-07-11 15:04:40 -07:00
hsr_framereg.h net/hsr: Better frame dispatch 2014-07-08 11:35:31 -07:00
hsr_main.c net/hsr: Better frame dispatch 2014-07-08 11:35:31 -07:00
hsr_main.h net/hsr: Better frame dispatch 2014-07-08 11:35:31 -07:00
hsr_netlink.c net/hsr: Fix NULL pointer dereference on incomplete hsr_newlink() params. 2014-07-08 11:35:31 -07:00
hsr_netlink.h net/hsr: Use list_head (and rcu) instead of array for slave devices. 2014-07-08 11:35:31 -07:00
hsr_slave.c net/hsr: Better frame dispatch 2014-07-08 11:35:31 -07:00
hsr_slave.h net/hsr: Better frame dispatch 2014-07-08 11:35:31 -07:00