]> git.puffer.fish Git - matthieu/frr.git/commit
lib: Remove unnecessary comparison, for linked list
authorDonald Sharp <sharpd@nvidia.com>
Wed, 19 Oct 2022 16:57:28 +0000 (12:57 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 20 Oct 2022 11:43:45 +0000 (07:43 -0400)
commit78946603e10489969bad3b364a96ca01d436b47d
tree358d8c9b9fc3cc404ef81412e2d0bbd67d3141a7
parent040a0e6d26cb446806f940130c2fac95c2b0f441
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>
lib/routemap.c