Skip to content

Commit 859ad5f

Browse files
jhovoldGeorgi Djakov
authored andcommitted
interconnect: exynos: drop redundant link destroy
There is no longer any need to explicitly destroy node links as this is now done when the node is destroyed as part of icc_nodes_remove(). Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Georgi Djakov <[email protected]>
1 parent c9e46ca commit 859ad5f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/interconnect/samsung/exynos.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,8 @@ static struct icc_node *exynos_generic_icc_xlate(struct of_phandle_args *spec,
9696
static int exynos_generic_icc_remove(struct platform_device *pdev)
9797
{
9898
struct exynos_icc_priv *priv = platform_get_drvdata(pdev);
99-
struct icc_node *parent_node, *node = priv->node;
10099

101100
icc_provider_deregister(&priv->provider);
102-
103-
parent_node = exynos_icc_get_parent(priv->dev->parent->of_node);
104-
if (parent_node && !IS_ERR(parent_node))
105-
icc_link_destroy(node, parent_node);
106-
107101
icc_nodes_remove(&priv->provider);
108102

109103
return 0;

0 commit comments

Comments
 (0)