diff options
author | zhong jiang <zhongjiang@huawei.com> | 2018-09-16 21:13:42 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-17 08:21:45 -0700 |
commit | a4ebec033e1cff2690806c1721189c51b1cd0ae5 (patch) | |
tree | 04fdc9a6791e3b16da333c5c4261aa6524017f36 /mm/nommu.c | |
parent | b458925ed5797a20f22cdf005625e25106cf7124 (diff) |
net: ethernet: 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>
Reviewed-by: Vladimir Zapolskiy <vz@mleia.com>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/nommu.c')
0 files changed, 0 insertions, 0 deletions