From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJRSu-0005ud-JW for qemu-devel@nongnu.org; Fri, 09 Jun 2017 17:29:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJRSt-0000Gg-Oi for qemu-devel@nongnu.org; Fri, 09 Jun 2017 17:29:08 -0400 Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= References: <20170508233918.9043-1-f4bug@amsat.org> <20170508233918.9043-7-f4bug@amsat.org> <79598bed-714f-7c3b-a806-3bf1a4968fd2@msgid.tls.msk.ru> From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= Message-ID: Date: Fri, 9 Jun 2017 18:28:56 -0300 MIME-Version: 1.0 In-Reply-To: <79598bed-714f-7c3b-a806-3bf1a4968fd2@msgid.tls.msk.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH 06/11] hw/arm: removed unnecessary include List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tokarev , qemu-devel@nongnu.org, qemu-trivial@nongnu.org, Peter Maydell , qemu-arm@nongnu.org On 05/23/2017 11:58 AM, Michael Tokarev wrote: > 09.05.2017 02:39, Philippe Mathieu-Daudé wrote: >> "exec/memory.h" already includes it. > > I think this sort of include cleanups isn't really necessary. Some are useful ;) > For a regular include file, it's better to include it if the > .c file in question uses definitions from there, no matter if > other .h files include that header already or not. Ok. This one was incorrect anyway :( thank for the review! > > Thanks, > > /mjt > >> Signed-off-by: Philippe Mathieu-Daudé >> --- >> include/hw/arm/arm.h | 1 - >> 1 file changed, 1 deletion(-) >> >> diff --git a/include/hw/arm/arm.h b/include/hw/arm/arm.h >> index a3f79d3379..b9c11d3fb8 100644 >> --- a/include/hw/arm/arm.h >> +++ b/include/hw/arm/arm.h >> @@ -14,7 +14,6 @@ >> #include "exec/memory.h" >> #include "target/arm/cpu-qom.h" >> #include "hw/irq.h" >> -#include "qemu/notify.h" >> >> typedef enum { >> ARM_ENDIANNESS_UNKNOWN = 0, >> >