]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb5d260645cb377a338d5c420aec5cc8ac173cc06
tree3b2ec97d21586cf563f6874102aa12aeaacae50c
parent8bb978ea995ccd9ccb91f6e005028207e925b28f
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