]> git.puffer.fish Git - mirror/frr.git/commit
isisd: remove unnecessary null checks
authorRenato Westphal <renato@opensourcerouting.org>
Tue, 6 Aug 2019 20:18:41 +0000 (17:18 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Wed, 21 Aug 2019 03:57:17 +0000 (00:57 -0300)
commit1e4d64aa6ff02a86a50e1211e3649ad44497b01f
tree238da1850a3aec9ea0eb3d39028e9e3b60b69286
parent6fa6324d4bc3dd7ed9ad5702fb44334abe485236
isisd: remove unnecessary null checks

These null checks don't make sense because a) these two functions
are never called with a NULL IP address and b) the same pointers are
dereferenced later without any protection. Remove these NULL checks
to make the code less confusing.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
isisd/isis_route.c