]> git.baikalelectronics.ru Git - kernel.git/commit
misc: sram: remove redundant null pointer check before of_node_put
authorzhong jiang <zhongjiang@huawei.com>
Sun, 16 Sep 2018 13:08:45 +0000 (21:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Sep 2018 18:20:59 +0000 (20:20 +0200)
commitc6df30ae5c31a48577e4beb4b59d62eb8c8420b9
tree775e711d59dfe308eee3262b8d184d8cb7e203a1
parentecebffa9846f8cec16bddfe0faef4fead124ae06
misc: sram: remove redundant null pointer check before of_node_put

of_node_put has taken the null pinter 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/sram.c