Received: from eggs.gnu.org ([209.51.188.92]:35638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gotYA-0008RV-EL for qemu-devel@nongnu.org; Wed, 30 Jan 2019 12:21:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gotY8-0000pe-Kp for qemu-devel@nongnu.org; Wed, 30 Jan 2019 12:21:22 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:38366) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gotY8-0000on-Ch for qemu-devel@nongnu.org; Wed, 30 Jan 2019 12:21:20 -0500 Received: by mail-wm1-f65.google.com with SMTP id m22so357914wml.3 for ; Wed, 30 Jan 2019 09:21:19 -0800 (PST) References: <1548866382-14488-1-git-send-email-thuth@redhat.com> From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= Message-ID: <4e8dcc26-7e62-c79d-c354-8ade5db33f26@redhat.com> Date: Wed, 30 Jan 2019 18:21:16 +0100 MIME-Version: 1.0 In-Reply-To: <1548866382-14488-1-git-send-email-thuth@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH] hw/ppc: Don't include m48t59.h if it is not necessary List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth , qemu-ppc@nongnu.org, David Gibson Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org On 1/30/19 5:39 PM, Thomas Huth wrote: > These files don't use anything from m48t59.h, so no need to include > this header here. > > Signed-off-by: Thomas Huth > --- > hw/ppc/mac_newworld.c | 1 - > hw/ppc/mac_oldworld.c | 1 - > hw/ppc/ppc.c | 2 -- > hw/ppc/ppc_booke.c | 1 - > 4 files changed, 5 deletions(-) > > diff --git a/hw/ppc/mac_newworld.c b/hw/ppc/mac_newworld.c > index bb19eab..f1c8400 100644 > --- a/hw/ppc/mac_newworld.c > +++ b/hw/ppc/mac_newworld.c > @@ -53,7 +53,6 @@ > #include "hw/ppc/mac.h" > #include "hw/input/adb.h" > #include "hw/ppc/mac_dbdma.h" > -#include "hw/timer/m48t59.h" > #include "hw/pci/pci.h" > #include "net/net.h" > #include "sysemu/sysemu.h" > diff --git a/hw/ppc/mac_oldworld.c b/hw/ppc/mac_oldworld.c > index 817f70e..98d531d 100644 > --- a/hw/ppc/mac_oldworld.c > +++ b/hw/ppc/mac_oldworld.c > @@ -30,7 +30,6 @@ > #include "hw/ppc/ppc.h" > #include "mac.h" > #include "hw/input/adb.h" > -#include "hw/timer/m48t59.h" > #include "sysemu/sysemu.h" > #include "net/net.h" > #include "hw/isa/isa.h" > diff --git a/hw/ppc/ppc.c b/hw/ppc/ppc.c > index 98b409f..cffdc39 100644 > --- a/hw/ppc/ppc.c > +++ b/hw/ppc/ppc.c > @@ -30,10 +30,8 @@ > #include "qemu/timer.h" > #include "sysemu/sysemu.h" > #include "sysemu/cpus.h" > -#include "hw/timer/m48t59.h" > #include "qemu/log.h" > #include "qemu/error-report.h" > -#include "hw/loader.h" I supposed the "hw/loader.h" change slipped in by mistake. For m48t59.h: Reviewed-by: Philippe Mathieu-Daudé > #include "sysemu/kvm.h" > #include "kvm_ppc.h" > #include "trace.h" > diff --git a/hw/ppc/ppc_booke.c b/hw/ppc/ppc_booke.c > index 23bcf1b..4f11e00 100644 > --- a/hw/ppc/ppc_booke.c > +++ b/hw/ppc/ppc_booke.c > @@ -28,7 +28,6 @@ > #include "hw/ppc/ppc.h" > #include "qemu/timer.h" > #include "sysemu/sysemu.h" > -#include "hw/timer/m48t59.h" > #include "qemu/log.h" > #include "hw/loader.h" > #include "kvm_ppc.h" >