Tag: 9a0cb98589037c0ccb6210f5fd827445b3710c5e

ARM: OMAP2: Delete an unnecessary check

Author: Markus Elfring <elfring@users.sourceforge.net> The of_node_put() function tests whether its argument is NULL and then returns immediately if so. Furthermore, the kerneldoc for of_node_put() explicitly supports passing in a NULL pointer as its argument. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring …

Continue reading