]> www.infradead.org Git - users/jedix/linux-maple.git/commit
interconnect: Remove a useless kfree_const() usage
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Thu, 26 Sep 2024 18:33:49 +0000 (20:33 +0200)
committerGeorgi Djakov <djakov@kernel.org>
Tue, 22 Oct 2024 08:17:24 +0000 (11:17 +0300)
commit52cebda10430bc3cfb91ae93be10c5050979f525
tree3d59c57b85889c1883f43b37514bae7efd51f0c5
parent326b42d861cbcb793241606d7126ec18cd68de00
interconnect: Remove a useless kfree_const() usage

"path->name" is allocated in of_icc_get_by_index() using kasprintf(), so
there is no point in using kfree_const() to free it.

Switch to the more standard kfree() to free this.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/06630f9ec3e153d0e7773b8d97a17e7c53e0d606.1727375615.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Georgi Djakov <djakov@kernel.org>
drivers/interconnect/core.c