Remove own_id global variable from SP deployments

Move own_id to local namespace as both ffarpc_call_ep and ffarpc_caller
dependency on global own_id has been resolved.

Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I86b68a4a05285763218a9e60d6e4d4877b322707
diff --git a/deployments/attestation/common/attestation_sp.c b/deployments/attestation/common/attestation_sp.c
index c4d4e9c..aaa6695 100644
--- a/deployments/attestation/common/attestation_sp.c
+++ b/deployments/attestation/common/attestation_sp.c
@@ -25,9 +25,6 @@
 #include <sp_rxtx.h>
 #include <trace.h>
 
-uint16_t own_id = 0; /* !!Needs refactoring as parameter to ffarpc_caller_init */
-
-
 static int sp_init(uint16_t *own_sp_id);
 static void locate_crypto_service(void);
 
@@ -38,6 +35,7 @@
 	struct rpc_interface *attest_iface;
 	struct ffa_call_ep ffarpc_call_ep;
 	struct sp_msg req_msg;
+	uint16_t own_id = 0;
 
 	/* Claim source objects */
 	struct claim_source *claim_source;