]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net/hsr: Remove left-over never-true conditional code.
authorArvid Brodin <arvid.brodin@alten.se>
Fri, 11 Jul 2014 16:21:12 +0000 (18:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jul 2014 22:04:40 +0000 (15:04 -0700)
commit279f64b7a771d84cbdea51ac2f794becfb06bcd4
treeb065ce42f2a4437813d8fbdc78a67e76866b6ecd
parent19278cab62add209beda861696ac5f905485444f
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>
net/hsr/hsr_framereg.c