]> git.puffer.fish Git - mirror/frr.git/commit
lib: Remove unnecessary comparison, for linked list 12164/head
authorDonald Sharp <sharpd@nvidia.com>
Wed, 19 Oct 2022 16:57:28 +0000 (12:57 -0400)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Fri, 21 Oct 2022 04:44:22 +0000 (04:44 +0000)
commitd291cdca08c87d2d0ea363260053fb3bab89e312
tree57cf5fed8c48484dd9c762cf7ab9b3e9b2929226
parent6f95deb06c3f7e414b9d3f731054cf67a16a77ee
lib: Remove unnecessary comparison, for linked list

In the comparison function for a linked list code was
always checking against passed in NULL's.  The comparison
function will never receive a NULL value for data from
the linklist.c code.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
(cherry picked from commit 78946603e10489969bad3b364a96ca01d436b47d)
lib/routemap.c