Remove the return value of ipSecAddSecurityAssociation

Bug:38350493

Test: runtest -x tests/netd_integration_test.cpp

Change-Id: I48f8462d94e8c4e95d6766c1ce7f24b8a596b743
diff --git a/server/NetdNativeService.cpp b/server/NetdNativeService.cpp
index f0729b1..cb767fe 100644
--- a/server/NetdNativeService.cpp
+++ b/server/NetdNativeService.cpp
@@ -350,8 +350,7 @@
         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 encapRemotePort) {
     // Necessary locking done in IpSecService and kernel
     ENFORCE_PERMISSION(CONNECTIVITY_INTERNAL);
     ALOGD("ipSecAddSecurityAssociation()");
@@ -361,8 +360,7 @@
               spi,
               authAlgo, authKey, authTruncBits,
               cryptAlgo, cryptKey, cryptTruncBits,
-              encapType, encapLocalPort, encapRemotePort,
-              allocatedSpi));
+              encapType, encapLocalPort, encapRemotePort));
 }
 
 binder::Status NetdNativeService::ipSecDeleteSecurityAssociation(