mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-11-01 05:25:20 +00:00
pimd: Remove unnecessary NULL check
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
61e99c94ae
commit
a88e628d29
@ -296,9 +296,8 @@ void pim_ifchannel_ifjoin_switch(const char *caller, struct pim_ifchannel *ch,
|
||||
* if channel. So remove it.
|
||||
* I think this is dead code now. is it?
|
||||
*/
|
||||
if (!ch
|
||||
&& c_oil->oil.mfcc_ttls
|
||||
[pim_ifp->mroute_vif_index])
|
||||
if (c_oil->oil.mfcc_ttls
|
||||
[pim_ifp->mroute_vif_index])
|
||||
pim_channel_del_oif(
|
||||
c_oil, ch->interface,
|
||||
PIM_OIF_FLAG_PROTO_STAR);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user