diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-07-22 16:20:36 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-07-25 16:06:12 +0000 |
commit | 0f33d8c29aadce21b02d0376547441b6f38dcede (patch) | |
tree | 3b42c107232f1c439b0660fbaa01e13bad8a3e9a /payloads/external/U-Boot/Kconfig | |
parent | 877481cda24aa179da5ea1ad437198d4df26dec1 (diff) |
soc/qualcomm/ipq806x: 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.
Change-Id: I4370d77445952731d20f7d9a91803612f4d21aef
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1294801
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34499
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'payloads/external/U-Boot/Kconfig')
0 files changed, 0 insertions, 0 deletions