diff options
| author | Markus Armbruster <armbru@redhat.com> | 2025-04-07 10:26:41 +0200 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2025-04-24 09:33:24 +0200 |
| commit | 720a0e417ef0814d90aa884096a643b02ee854dc (patch) | |
| tree | 3973f28e1bea5ac141daecf7fd73da9e06a0a1cc /hw/scsi/esp.c | |
| parent | 91d0d16b44c93fa82cf76ae12990ce3aa96096c9 (diff) | |
| download | focaccia-qemu-720a0e417ef0814d90aa884096a643b02ee854dc.tar.gz focaccia-qemu-720a0e417ef0814d90aa884096a643b02ee854dc.zip | |
cleanup: Re-run return_directly.cocci
Coccinelle's indentation of virt_create_plic() results in a long line. Avoid that by mimicking the old indentation manually. Don't touch tests/tcg/mips/user/. I'm not sure these files are ours to make style cleanups on. They might be imported third-party code, which we should leave as is to not complicate future updates. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20250407082643.2310002-2-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/scsi/esp.c')
| -rw-r--r-- | hw/scsi/esp.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/hw/scsi/esp.c b/hw/scsi/esp.c index ac841dc32e..01bdfe2701 100644 --- a/hw/scsi/esp.c +++ b/hw/scsi/esp.c @@ -242,10 +242,7 @@ static uint32_t esp_get_stc(ESPState *s) static uint8_t esp_pdma_read(ESPState *s) { - uint8_t val; - - val = esp_fifo_pop(s); - return val; + return esp_fifo_pop(s); } static void esp_pdma_write(ESPState *s, uint8_t val) |