Revert "kernel: Arch specific memory domain APIs added"

This reverts commit 8d910b36a3a8704d602e627388e9ae33cf50a374.
diff --git a/kernel/mem_domain.c b/kernel/mem_domain.c
index 5e80fb0..837b55c 100644
--- a/kernel/mem_domain.c
+++ b/kernel/mem_domain.c
@@ -12,6 +12,7 @@
 
 static u8_t max_partitions;
 
+
 void k_mem_domain_init(struct k_mem_domain *domain, u32_t num_parts,
 		struct k_mem_partition *parts[])
 {
@@ -48,11 +49,6 @@
 
 	key = irq_lock();
 
-	/* Handle architecture specifc destroy only if it is the current thread*/
-	if (_current->mem_domain_info.mem_domain == domain) {
-		_arch_mem_domain_destroy(domain);
-	}
-
 	SYS_DLIST_FOR_EACH_NODE_SAFE(&domain->mem_domain_q, node, next_node) {
 		struct k_thread *thread =
 			CONTAINER_OF(node, struct k_thread, mem_domain_info);
@@ -115,11 +111,6 @@
 	/* Assert if not found */
 	__ASSERT(p_idx < max_partitions, "");
 
-	/* Handle architecture specifc remove only if it is the current thread*/
-	if (_current->mem_domain_info.mem_domain == domain) {
-		_arch_mem_domain_remove_partition(domain, p_idx);
-	}
-
 	domain->partitions[p_idx].start = 0;
 	domain->partitions[p_idx].size = 0;
 	domain->partitions[p_idx].attr = 0;