[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v4 14/21] hw: Do not include "sysemu/blockdev.h" if it is not necessary



On Mon, 28 May 2018 20:27:12 -0300
Philippe Mathieu-Daudé <f4bug@xxxxxxxxx> wrote:

> Remove those unneeded includes to speed up the compilation
> process a little bit.
> 
> Code change produced with:
> 
>     $ 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'
> 
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@xxxxxxxxx>
> ---
>  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 <cohuck@xxxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.