[Epic-Id: ODUHIGH-576][Task-Id: ODUHIGH-594][SubTask-Id: ODUHIGH-598]|[NFAPI_Branch... 19/12919/1
authorsvaidhya <svaidhya@radisys.com>
Wed, 22 May 2024 10:32:10 +0000 (16:02 +0530)
committersvaidhya <svaidhya@radisys.com>
Wed, 22 May 2024 10:32:48 +0000 (16:02 +0530)
Change-Id: I60e71a0c0b5c7bbc1cb9db8757ba944bce8ab7b3
Signed-off-by: svaidhya <svaidhya@radisys.com>
src/pnf_stub/pnf_stub_p5_msg_hdl.c
src/pnf_stub/pnf_stub_p7_udp.c
src/pnf_stub/pnf_stub_sctp.c

index a2108d9..136280d 100644 (file)
@@ -36,6 +36,7 @@
 #include "pnf_stub_p5_msg_hdl.h"
 #include "nfapi_interface.h"
 #include "pnf_stub_sctp.h"
+#include "pnf_stub_p7_udp.h"
 #include "pnf_stub.h"
 
 PnfGlobalCb pnfCb;
@@ -232,9 +233,7 @@ uint8_t buildAndSendPnfStopResp()
 
 uint8_t buildAndSendParamResp()
 {
-   uint8_t ret = ROK,idx=0;
    Buffer *mBuf = NULLP;
-   fapi_param_resp_t *fapiParamRsp;
 
    if (ODU_GET_MSG_BUF(PNF_APP_MEM_REG, PNF_POOL, &mBuf) != ROK)
    {
index c1b02d0..036bfd7 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "common_def.h"
 #include "cm_inet.x"
+#include "nfapi_interface.h"
 #include "pnf_stub_p7_udp.h"
 #include "pnf_stub_sctp.h"
 #include "pnf_stub.h"
index f809097..868d355 100644 (file)
@@ -322,8 +322,6 @@ uint8_t pnfP5SctpSockPoll()
    CmInetMemInfo      memInfo;
    PnfP5SctpSockPollParams pnfP5PollParams;
    
-   char msg[255];
-
    memset(&pnfP5PollParams, 0, sizeof(PnfP5SctpSockPollParams));
     
    /* All sockets are non-blocking */