diff options
author | Simon Glass <sjg@chromium.org> | 2024-12-07 10:23:54 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-12-12 16:35:23 -0600 |
commit | a2c90dc3711da518fdea7a95a1a5a057e98fea3c (patch) | |
tree | 46d9817e3ee6a6d13f8726e067a7bcfca18518c7 /common/malloc_simple.c | |
parent | 62224280d9e89648ae90346c0aede76f9b7e7610 (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