diff options
author | Simon Glass <sjg@chromium.org> | 2024-12-19 11:28:49 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-12-27 15:16:10 -0600 |
commit | 8369dd058ac3008b3a0c8b2c2e87d4e86895a79b (patch) | |
tree | 6bc1656f39809dc6dcbf0f3637e627267edd30e8 /common/malloc_simple.c | |
parent | 337bfdce5aa52637b482b182db959b9bb058f4b7 (diff) |
spl: mmc: Avoid size growth in spl_mmc_find_device() debug
The for() loop ends up being in the code even if the log_debug() does
nothing. Add a condition to fix this.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'common/malloc_simple.c')
0 files changed, 0 insertions, 0 deletions