mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-02 03:36:41 +00:00
ospfd: trust backet->data
The backet->data cannot be NULL, no need to check for it. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
0a1a07cbcf
commit
c4dddf32d3
@ -1524,10 +1524,6 @@ static void ospf_sr_nhlfe_update(struct hash_backet *backet, void *args)
|
||||
struct sr_nhlfe old;
|
||||
int rc;
|
||||
|
||||
/* Sanity Check */
|
||||
if (srn == NULL)
|
||||
return;
|
||||
|
||||
if (IS_DEBUG_OSPF_SR)
|
||||
zlog_debug(" |- Update Prefix for SR Node %s",
|
||||
inet_ntoa(srn->adv_router));
|
||||
|
Loading…
Reference in New Issue
Block a user