commit | bbafabc17dee91314e620d1567d570194a46e0b0 | [log] [tgz] |
---|---|---|
author | Marek BehĂșn <kabel@kernel.org> | Tue Jun 18 17:34:25 2024 +0200 |
committer | Stefan Roese <sr@denx.de> | Mon Jul 08 08:20:58 2024 +0200 |
tree | 4e9294aac11dfc2a834aa3f75df920f3e849c2a7 | |
parent | 7efa4c008944b7eb114353c496ea5674e7c92410 [diff] |
ddr: marvell: a38x: debug: return from ddr3_tip_print_log() early if we won't print anything Return from ddr3_tip_print_log() early if we won't print anything anyway. This way the compiler can optimize away the VALIDATE_IF_ACTIVE() calls in the for-loop, so if the SILENT_LIB macro is defined, no code is generated for the rest of the function, which saves some space. Signed-off-by: Marek BehĂșn <kabel@kernel.org>