]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit764ea3714a85bfc0e3e470cee2166b6ef911b9b9
tree9b9ed2ab6b96e69e4eb8f82ce53d110ea5801403
parent1635bb548f846804af3054872fbd1395783ac03e
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