diff options
author | BALATON Zoltan <balaton@eik.bme.hu> | 2022-09-24 14:27:50 +0200 |
---|---|---|
committer | Daniel Henrique Barboza <danielhb413@gmail.com> | 2022-10-17 16:15:09 -0300 |
commit | 1049ff55fe99df87dbec47db27749a88f494e846 (patch) | |
tree | abc2615ebc7b41cd76bd617cb0227cd422fb25a0 /include | |
parent | 9364df267fed0ba079f1f679849b5808f146a257 (diff) | |
download | qemu-1049ff55fe99df87dbec47db27749a88f494e846.zip qemu-1049ff55fe99df87dbec47db27749a88f494e846.tar.gz qemu-1049ff55fe99df87dbec47db27749a88f494e846.tar.bz2 |
ppc440_bamboo: Remove unnecessary memsets
In ppc4xx_sdram_init() the struct is allocated with g_new0() so no
need to clear its elements. In the bamboo machine init memset can be
replaced with array initialiser which is shorter.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <529adc7705fb3e3e777439895bdaa136bacb9403.1664021647.git.balaton@eik.bme.hu>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions