]> git.puffer.fish Git - matthieu/frr.git/commit
lib: Remove unneeded asserts in mgmt code
authorDonald Sharp <sharpd@nvidia.com>
Mon, 27 Mar 2023 12:08:36 +0000 (08:08 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 27 Mar 2023 12:08:36 +0000 (08:08 -0400)
commit38c57f3f655a13bd4362e653d7a1ff73ba35ab66
treef2c327eafd5a68ed5a307ee739196d1d240e8d9b
parent6bfb66224500d2cb48fa46676b70e5c62002ab1f
lib: Remove unneeded asserts in mgmt code

event_add_XXXX functions have no failure path where
if you pass in a double event pointer that it could
return without setting the pointer.  As such these
asserts make no sense and are unnecessary

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
lib/mgmt_be_client.c
lib/mgmt_fe_client.c