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
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
2 matches
Mail list logo