Searched hist:"6 b924abe99902ef4fa5b74a24c251fb38fd1e528" (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/hw/ppc/ |
H A D | mac_oldworld.c | diff 6b924abe99902ef4fa5b74a24c251fb38fd1e528 Fri Oct 28 06:56:19 CDT 2022 BALATON Zoltan <balaton@eik.bme.hu> mac_{old|new}world: Set tbfreq at declaration
The tbfreq variable is only set once in an if-else which can be done at the variable declaration saving some lines of code and making it simpler.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Message-Id: <15668da8eb8bad4561428a5f25b02f91e16d9c1b.1666957578.git.balaton@eik.bme.hu> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
|
H A D | mac_newworld.c | diff 6b924abe99902ef4fa5b74a24c251fb38fd1e528 Fri Oct 28 06:56:19 CDT 2022 BALATON Zoltan <balaton@eik.bme.hu> mac_{old|new}world: Set tbfreq at declaration
The tbfreq variable is only set once in an if-else which can be done at the variable declaration saving some lines of code and making it simpler.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Message-Id: <15668da8eb8bad4561428a5f25b02f91e16d9c1b.1666957578.git.balaton@eik.bme.hu> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
|