media: vimc: Remove redundant free
authorAnton Vasilyev <vasilyev@ispras.ru>
Fri, 27 Jul 2018 11:47:59 +0000 (07:47 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 2 Aug 2018 23:12:34 +0000 (19:12 -0400)
commitb9f0f653ea2c214933b16884bd40baf26ff61895
treee8a6317b8f0faa1a0806f5cb6464af2448d18ec2
parent730129e9ba4dd668452371eba900e6e46f63b778
media: vimc: Remove redundant free

Commit 4a29b7090749 ("[media] vimc: Subdevices as modules") removes
vimc allocation from vimc_probe(), so corresponding deallocation
on the error path tries to free static memory.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Anton Vasilyev <vasilyev@ispras.ru>
Acked-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vimc/vimc-core.c