]> git.baikalelectronics.ru Git - kernel.git/commit
net: usb: remove redundant null pointer check before of_node_put
authorzhong jiang <zhongjiang@huawei.com>
Sun, 16 Sep 2018 13:20:17 +0000 (21:20 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Sep 2018 15:20:11 +0000 (08:20 -0700)
commit3b26112c1bc477fab81efed2f2159c9f76a9f0c5
tree9b9ed2ab6b96e69e4eb8f82ce53d110ea5801403
parent061cfac7fad7d00bc87145369dadcb2e1bd30c52
net: usb: 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: David S. Miller <davem@davemloft.net>
drivers/net/usb/lan78xx.c