Commit f1ebbe4c authored by Markus Elfring's avatar Markus Elfring Committed by Helge Deller
Browse files

fbdev: omapfb: Call of_node_put(ep) only once in omapdss_of_find_source_for_first_ep()



An of_node_put(ep) call was immediately used after a pointer check
for a of_graph_get_remote_port() call in this function implementation.
Thus call such a function only once instead directly before the check.

This issue was transformed by using the Coccinelle software.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 5b97eebc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment