aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunhao He <[email protected]>2021-06-14 11:58:58 -0600
committerGreg Kroah-Hartman <[email protected]>2021-06-15 09:31:26 +0200
commite12f6b5593e48065347a4213ad8ec3981c248fba (patch)
treefdca409832fc4482cfd4cab1611602c82549f590
parentd777a8991847729ec4e2a13fcad58c2b00bb19dc (diff)
coresight: core: Remove unnecessary assignment
Remove unnecessary assignment of "path" in coresight_release_path(). Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Junhao He <[email protected]> Signed-off-by: Qi Liu <[email protected]> Signed-off-by: Suzuki K Poulose <[email protected]> Signed-off-by: Mathieu Poirier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/hwtracing/coresight/coresight-core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwtracing/coresight/coresight-core.c b/drivers/hwtracing/coresight/coresight-core.c
index 20ea4aa619f0..3cb8680c5828 100644
--- a/drivers/hwtracing/coresight/coresight-core.c
+++ b/drivers/hwtracing/coresight/coresight-core.c
@@ -886,7 +886,6 @@ void coresight_release_path(struct list_head *path)
}
kfree(path);
- path = NULL;
}
/* return true if the device is a suitable type for a default sink */