diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-02-19 15:35:53 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-04 14:45:34 +0100 |
commit | f33af61dbab3b6fe0923bd829461584eaa41039e (patch) | |
tree | a92eaee1df399654052c24803a65e26abaa655cc /rust/qemu-api-macros | |
parent | abf2b6a028670bd2890bb3aee7e103fe53e4b0df (diff) | |
download | qemu-f33af61dbab3b6fe0923bd829461584eaa41039e.zip qemu-f33af61dbab3b6fe0923bd829461584eaa41039e.tar.gz qemu-f33af61dbab3b6fe0923bd829461584eaa41039e.tar.bz2 |
hw/char/pl011: Simplify a bit pl011_can_receive()
Introduce 'fifo_depth' and 'fifo_available' local variables
to better express the 'r' variable use.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Luc Michel <luc.michel@amd.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250220092903.3726-3-philmd@linaro.org>
Diffstat (limited to 'rust/qemu-api-macros')
0 files changed, 0 insertions, 0 deletions