Remove the return value of ipSecAddSecurityAssociation
Bug:38350493
Test: runtest -x tests/netd_integration_test.cpp
Change-Id: I48f8462d94e8c4e95d6766c1ce7f24b8a596b743
diff --git a/server/XfrmController.h b/server/XfrmController.h
index 1c9b406..739d8d1 100644
--- a/server/XfrmController.h
+++ b/server/XfrmController.h
@@ -116,7 +116,7 @@
const std::string& remoteAddress, int64_t underlyingNetworkHandle, int32_t spi,
const std::string& authAlgo, const std::vector<uint8_t>& authKey, int32_t authTruncBits,
const std::string& cryptAlgo, const std::vector<uint8_t>& cryptKey, int32_t cryptTruncBits,
- int32_t encapType, int32_t encapLocalPort, int32_t encapRemotePort, int32_t* allocatedSpi);
+ int32_t encapType, int32_t encapLocalPort, int32_t encapRemotePort);
int ipSecDeleteSecurityAssociation(int32_t transformId, int32_t direction,
const std::string& localAddress,