[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-riscv] [Qemu-devel] [PATCH] target/riscv: Remove unused includ
From: |
Alistair Francis |
Subject: |
Re: [Qemu-riscv] [Qemu-devel] [PATCH] target/riscv: Remove unused include of riscv_htif.h for virt board |
Date: |
Wed, 10 Apr 2019 16:19:36 -0700 |
On Wed, Apr 10, 2019 at 9:30 AM Jonathan Behrens <address@hidden> wrote:
>
> Unless I'm missing something, the virt board doesn't support HTIF and
> should not be including this header.
Thanks for the patch!
You aren't missing anything, it can be removed.
>
> Jonathan
Can you send a v2 without the uncertainty in the commit message? Can
you also remove your name from the message? For such a small patch the
commit title by itself will be enough.
>
> Signed-off-by: Jonathan Behrens <address@hidden>
With an updated commit message:
Reviewed-by: Alistair Francis <address@hidden>
Alistair
> ---
> hw/riscv/virt.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/hw/riscv/virt.c b/hw/riscv/virt.c
> index fc4c6b306e..3526463034 100644
> --- a/hw/riscv/virt.c
> +++ b/hw/riscv/virt.c
> @@ -29,7 +29,6 @@
> #include "hw/sysbus.h"
> #include "hw/char/serial.h"
> #include "target/riscv/cpu.h"
> -#include "hw/riscv/riscv_htif.h"
> #include "hw/riscv/riscv_hart.h"
> #include "hw/riscv/sifive_plic.h"
> #include "hw/riscv/sifive_clint.h"
> --
> 2.20.1