coreboot-kgpe-d16/src/soc/qualcomm
Jacob Garber 145eb479a4 soc/qualcomm/ipq40xx: Remove unnecessary allocation
The bus variable doesn't live outside the scope of this function, and is
only used as a convenient way for passing the pointers to all the
sub-functions, so it doesn't need to be allocated. Put it on the stack
instead. A similar fix for ipq806x was done in 0f33d8c29a
(soc/qualcomm/ipq806x: Remove unnecessary allocation).

Change-Id: Ibb1129b92e38a105e100f59e03d107de340b925c
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1294801
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35464
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2019-09-20 07:18:43 +00:00
..
common QC common: fix compiler complaint, missing <string.h> 2019-07-02 01:32:19 +00:00
ipq40xx soc/qualcomm/ipq40xx: Remove unnecessary allocation 2019-09-20 07:18:43 +00:00
ipq806x arch/non-x86: Remove use of __PRE_RAM__ 2019-08-20 01:12:28 +00:00
qcs405 cpu,mb,soc: Init missing lb_serial struct fields 2019-09-19 09:28:10 +00:00
sdm845 soc/qualcomm: Remove unneeded '#include <lib.h>' 2019-07-13 17:55:21 +00:00
Kconfig