media: venus: core: Drop second v4l2 device unregister

Wrong solution of rebase conflict leads to calling twice
v4l2_device_unregister in .venus_remove. Delete the second one.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
Stanimir Varbanov 2021-03-24 15:59:17 +01:00 committed by Mauro Carvalho Chehab
parent 2f3eb922cd
commit ddbcd0c58a
1 changed files with 0 additions and 2 deletions

View File

@ -368,8 +368,6 @@ static int venus_remove(struct platform_device *pdev)
hfi_destroy(core);
v4l2_device_unregister(&core->v4l2_dev);
mutex_destroy(&core->pm_lock);
mutex_destroy(&core->lock);
venus_dbgfs_deinit(core);