[PATCH 44/44] coresight: Remove redundant null pointer check before of_node_put and put_device

2018-09-20 Thread Mathieu Poirier
From: zhong jiang of_node_put and put_device has taken the null pointer check into account. So it is safe to remove the duplicated check. Signed-off-by: zhong jiang Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/of_coresight.c | 9 +++-- 1 file changed, 3 insertions(+), 6

[PATCH 44/44] coresight: Remove redundant null pointer check before of_node_put and put_device

2018-09-20 Thread Mathieu Poirier
From: zhong jiang of_node_put and put_device has taken the null pointer check into account. So it is safe to remove the duplicated check. Signed-off-by: zhong jiang Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/of_coresight.c | 9 +++-- 1 file changed, 3 insertions(+), 6