Skip to content

Commit

Permalink
apps: zynqmp: fix compilation issue from rebase
Browse files Browse the repository at this point in the history
no-ipi patches seemed to have caused compilation issue. resolve here

Signed-off-by: Ben Levinsky <[email protected]>
  • Loading branch information
Ben Levinsky authored and arnopo committed Oct 23, 2020
1 parent 0b3cf11 commit 4d20dcd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions apps/machine/zynqmp/zynqmp_linux_r5_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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;
Expand All @@ -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 */
Expand Down

0 comments on commit 4d20dcd

Please sign in to comment.