media: coda: remove redundant null pointer check before of_node_put
authorzhong jiang <zhongjiang@huawei.com>
Sun, 16 Sep 2018 13:04:49 +0000 (09:04 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 24 Sep 2018 13:28:41 +0000 (09:28 -0400)
commit94a426c56449e5dd18fe3bfb52077856d063e275
tree3b2ec97d21586cf563f6874102aa12aeaacae50c
parenta58c37978cf02f6d35d05ee4e9288cb8455f1401
media: coda: remove redundant null pointer check before of_node_put

of_node_put has taken the null pointer check into account. So it is
safe to remove the duplicated check before of_node_put.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/coda/coda-common.c