Commit 993b13ab authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Greg Kroah-Hartman
Browse files

MIPS: SGI-IP27: Free some unused memory



[ Upstream commit 33d70856 ]

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: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
Stable-dep-of: 11bec9cb ("MIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 95985509
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment