pdr: Remove pldm_pdr_add_check()
Deprecated prior to v0.9.0.
Change-Id: Ib53d20bfee6365429db56bc2420b2d294d5464b4
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/tests/dsp/pdr.cpp b/tests/dsp/pdr.cpp
index f2d2470..04524e8 100644
--- a/tests/dsp/pdr.cpp
+++ b/tests/dsp/pdr.cpp
@@ -635,20 +635,20 @@
hdr.type = 1;
uint16_t firstTerminusHandle = 1;
- EXPECT_EQ(pldm_pdr_add_check(repo, reinterpret_cast<const uint8_t*>(&hdr),
- sizeof(hdr), false, firstTerminusHandle, NULL),
+ EXPECT_EQ(pldm_pdr_add(repo, reinterpret_cast<const uint8_t*>(&hdr),
+ sizeof(hdr), false, firstTerminusHandle, NULL),
0);
hdr.type = 2;
uint16_t secondTerminusHandle = 2;
- EXPECT_EQ(pldm_pdr_add_check(repo, reinterpret_cast<const uint8_t*>(&hdr),
- sizeof(hdr), true, secondTerminusHandle, NULL),
+ EXPECT_EQ(pldm_pdr_add(repo, reinterpret_cast<const uint8_t*>(&hdr),
+ sizeof(hdr), true, secondTerminusHandle, NULL),
0);
hdr.type = 3;
uint16_t thirdTerminusHandle = 3;
- EXPECT_EQ(pldm_pdr_add_check(repo, reinterpret_cast<const uint8_t*>(&hdr),
- sizeof(hdr), true, thirdTerminusHandle, NULL),
+ EXPECT_EQ(pldm_pdr_add(repo, reinterpret_cast<const uint8_t*>(&hdr),
+ sizeof(hdr), true, thirdTerminusHandle, NULL),
0);
uint8_t* outData = nullptr;