bgpd: Remove double test against rfapi which is already checked

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
This commit is contained in:
Donatas Abraitis 2021-06-11 18:43:14 +03:00
parent 9c73cd41f7
commit 6198b69489

View File

@ -2179,7 +2179,7 @@ int rfapi_close(void *handle)
vnc_zlog_debug_verbose("%s administrative close rfd=%p",
__func__, rfd);
if (h && h->rfp_methods.close_cb) {
if (h->rfp_methods.close_cb) {
vnc_zlog_debug_verbose(
"%s calling close callback rfd=%p", __func__,
rfd);