From 4d20dcdca51332995aae09e050cd2e772543e187 Mon Sep 17 00:00:00 2001 From: Ben Levinsky Date: Thu, 22 Oct 2020 11:00:11 -0700 Subject: [PATCH] apps: zynqmp: fix compilation issue from rebase no-ipi patches seemed to have caused compilation issue. resolve here Signed-off-by: Ben Levinsky --- apps/machine/zynqmp/zynqmp_linux_r5_proc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apps/machine/zynqmp/zynqmp_linux_r5_proc.c b/apps/machine/zynqmp/zynqmp_linux_r5_proc.c index afbbc5eaf..d5d7f7f3b 100644 --- a/apps/machine/zynqmp/zynqmp_linux_r5_proc.c +++ b/apps/machine/zynqmp/zynqmp_linux_r5_proc.c @@ -68,7 +68,6 @@ zynqmp_linux_r5_proc_init(struct remoteproc *rproc, { struct remoteproc_priv *prproc = arg; struct metal_device *dev; - unsigned int irq_vect; #ifndef RPMSG_NO_IPI unsigned int irq_vect; #endif /* !RPMSG_NO_IPI */ @@ -143,8 +142,6 @@ zynqmp_linux_r5_proc_init(struct remoteproc *rproc, prproc->ipi_chn_mask); printf("Successfully initialized Linux r5 remoteproc.\r\n"); return rproc; -err3: - metal_device_close(prproc->ipi_dev); #endif /* !RPMSG_NO_IPI */ printf("Successfully initialized Linux r5 remoteproc.\r\n"); return rproc; @@ -161,7 +158,6 @@ zynqmp_linux_r5_proc_init(struct remoteproc *rproc, static void zynqmp_linux_r5_proc_remove(struct remoteproc *rproc) { struct remoteproc_priv *prproc; - struct metal_device *dev; #ifndef RPMSG_NO_IPI struct metal_device *dev; #endif /* !RPMSG_NO_IPI */