From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNcQM-0004GP-Nv for qemu-devel@nongnu.org; Tue, 29 May 2018 07:04:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNcQI-0005CF-55 for qemu-devel@nongnu.org; Tue, 29 May 2018 07:04:18 -0400 Date: Tue, 29 May 2018 13:03:57 +0200 From: Cornelia Huck Message-ID: <20180529130357.405f501b.cohuck@redhat.com> In-Reply-To: <20180528232719.4721-15-f4bug@amsat.org> References: <20180528232719.4721-1-f4bug@amsat.org> <20180528232719.4721-15-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v4 14/21] hw: Do not include "sysemu/blockdev.h" if it is not necessary List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe =?UTF-8?B?TWF0aGlldS1EYXVkw6k=?= Cc: Thomas Huth , "Michael S . Tsirkin" , qemu-devel@nongnu.org, qemu-trivial@nongnu.org, Paolo Bonzini , Peter Crosthwaite , Alistair Francis , Kevin Wolf , Max Reitz , Stefano Stabellini , Anthony Perard , Marcel Apfelbaum , Richard Henderson , Eduardo Habkost , Christian Borntraeger , Alexander Graf , David Hildenbrand , Fam Zheng , Gerd Hoffmann , "Dr. David Alan Gilbert" , Markus Armbruster , "open list:Block layer core" , "open list:X86" , "open list:virtio-ccw" On Mon, 28 May 2018 20:27:12 -0300 Philippe Mathieu-Daud=C3=A9 wrote: > Remove those unneeded includes to speed up the compilation > process a little bit. >=20 > Code change produced with: >=20 > $ git grep '#include "sysemu/blockdev.h"' | \ > cut -d: -f-1 | \ > xargs egrep -L "(BlockInterfaceType|DriveInfo|drive_get|blk_legacy_= dinfo|blockdev_mark_auto_del)" | \ > xargs sed -i.bak '/#include "sysemu\/blockdev.h"/d' >=20 > Signed-off-by: Philippe Mathieu-Daud=C3=A9 > --- > hw/block/m25p80.c | 1 - > hw/block/onenand.c | 1 - > hw/i386/xen/xen-mapcache.c | 1 - > hw/s390x/virtio-ccw.c | 1 - > hw/scsi/scsi-generic.c | 1 - > hw/sd/sdhci.c | 1 - > hw/usb/dev-storage.c | 1 - > monitor.c | 1 - > 8 files changed, 8 deletions(-) Acked-by: Cornelia Huck