]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/arm/aspeed_ast27x0: Rename variable sram_name to name in ast2700 realize
authorJamin Lin <jamin_lin@aspeedtech.com>
Wed, 23 Apr 2025 07:23:37 +0000 (15:23 +0800)
committerCédric Le Goater <clg@redhat.com>
Mon, 5 May 2025 07:38:55 +0000 (09:38 +0200)
commit8bc296c9b1122916166c021492c470c522e0fd16
treeed185ed6ddea41be8454f329a60b3bf3aea9ec5b
parent53f3285e11876aae97d4240d944d45a4fe6c4597
hw/arm/aspeed_ast27x0: Rename variable sram_name to name in ast2700 realize

The variable "sram_name" was only used for naming the SRAM memory region.
Rename it to "name" for consistency with similar code and avoid unnecessary
new local variable declarations.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Tested-by: Nabih Estefan <nabihestefan@google.com>
Link: https://lore.kernel.org/qemu-devel/20250423072350.541742-2-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/arm/aspeed_ast27x0.c