diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-04-23 15:24:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-26 13:25:18 +0200 |
commit | 0c667858c0266f46a33327259169657bc54b7334 (patch) | |
tree | 9fd8b3686ee37d17eeb72ca2ca8a889a2d2199df /mm/backing-dev.c | |
parent | 35984456983ba1cd359ccb4a71c8707075f98728 (diff) |
MIPS: SGI-IP27: Free some unused memory
[ Upstream commit 33d7085682b4aa212ebfadbc21da81dfefaaac16 ]
platform_device_add_data() duplicates the memory it is passed. So we can
free some memory to save a few bytes that would remain unused otherwise.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Stable-dep-of: 11bec9cba4de ("MIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'mm/backing-dev.c')
0 files changed, 0 insertions, 0 deletions