]> git.baikalelectronics.ru Git - kernel.git/commit
media: stm32-dcmi: Delete an unnecessary of_node_put() call in dcmi_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 27 Aug 2019 14:00:13 +0000 (11:00 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 29 Aug 2019 13:23:02 +0000 (10:23 -0300)
commit04f1936457d0159079f11077c4169138f5987845
tree2dcc0122b896b80e61afb8364a09b5da156733fc
parent37aade2016da071c7b6f53c66fbfe80a5561d788
media: stm32-dcmi: Delete an unnecessary of_node_put() call in dcmi_probe()

A null pointer would be passed to a call of the function “of_node_put”
immediately after a call of the function “of_graph_get_next_endpoint”
failed at one place.
Remove this superfluous function call.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/stm32/stm32-dcmi.c