remoteproc: zynq: do not free proc mem in release
[processor-sdk/open-amp.git] / lib / remoteproc / drivers / zynq_remoteproc_a9.c
index dfe93f75dc546603bd65a4c5a960c79b58b1f100..b94eb28785622f0b0c5dcc370d5180f246cefd48 100644 (file)
@@ -277,8 +277,6 @@ static int _initialize(struct hil_proc *proc)
 
 static void _release(struct hil_proc *proc)
 {
-       if (proc) {
-               metal_free_memory(proc);
-       }
+       return;
 }