Skip to content
Browse files

ospfd: trust backet->data

The backet->data cannot be NULL, no need to check for it.

Signed-off-by: Donald Sharp <>
  • Loading branch information...
donaldsharp committed Aug 15, 2018
1 parent 0a1a07c commit c4dddf32d3ecdbef1d27cd11e6d6d3956e8c145d
Showing with 0 additions and 4 deletions.
  1. +0 −4 ospfd/ospf_sr.c
@@ -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)

zlog_debug(" |- Update Prefix for SR Node %s",

0 comments on commit c4dddf3

Please sign in to comment.
You can’t perform that action at this time.