diff options
-rw-r--r-- | drivers/remoteproc/remoteproc_core.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c index 9a507e77eced..feb24c43d4c7 100644 --- a/drivers/remoteproc/remoteproc_core.c +++ b/drivers/remoteproc/remoteproc_core.c | |||
@@ -396,9 +396,6 @@ static int rproc_handle_vdev(struct rproc *rproc, struct fw_rsc_vdev *rsc, | |||
396 | goto unwind_vring_allocations; | 396 | goto unwind_vring_allocations; |
397 | } | 397 | } |
398 | 398 | ||
399 | /* track the rvdevs list reference */ | ||
400 | kref_get(&rvdev->refcount); | ||
401 | |||
402 | list_add_tail(&rvdev->node, &rproc->rvdevs); | 399 | list_add_tail(&rvdev->node, &rproc->rvdevs); |
403 | 400 | ||
404 | rproc_add_subdev(rproc, &rvdev->subdev, | 401 | rproc_add_subdev(rproc, &rvdev->subdev, |