From a4ba8da26f053db714d77943c01090e968724273 Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Mon, 18 Oct 2021 12:28:48 +0200 Subject: api: remove legacy pd msg handlers While looking at a coverity warning it was discovered that it's caused by return value modified by pd msg handlers. As these are legacy, it's a good time to remove them and also fix the warning this way. Type: fix Signed-off-by: Klement Sekera Change-Id: Ic72ab8b2b7a2e55188d1c31cfd18a74b7cf82c43 --- src/vlibapi/api_common.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/vlibapi/api_common.h') diff --git a/src/vlibapi/api_common.h b/src/vlibapi/api_common.h index a955636ba3f..320e7c44e16 100644 --- a/src/vlibapi/api_common.h +++ b/src/vlibapi/api_common.h @@ -232,8 +232,6 @@ typedef struct api_main_t { /** Message handler vector */ void (**msg_handlers) (void *); - /** Plaform-dependent (aka hardware) message handler vector */ - int (**pd_msg_handlers) (void *, int); /** non-default message cleanup handler vector */ void (**msg_cleanup_handlers) (void *); -- cgit 1.2.3-korg