hw: Do not include "exec/ioport.h" if it is not necessary
Code change produced with:
    $ git grep '#include "exec/ioport.h"' hw | \
      cut -d: -f-1 | \
      xargs egrep -Li "(portio|cpu_(in|out).\()" | \
      xargs sed -i.bak '/#include "exec\/ioport.h"/d'
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180528232719.4721-11-f4bug@amsat.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marcel Apfelbaum<marcel.apfelbaum@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
			
			
This commit is contained in:
		
							parent
							
								
									23cecc2717
								
							
						
					
					
						commit
						9c5900bce5
					
				@ -32,7 +32,6 @@
 | 
			
		||||
#include "hw/pci/pci.h"
 | 
			
		||||
#include "hw/acpi/acpi.h"
 | 
			
		||||
#include "sysemu/sysemu.h"
 | 
			
		||||
#include "exec/ioport.h"
 | 
			
		||||
#include "exec/address-spaces.h"
 | 
			
		||||
#include "hw/pci/pci_bus.h"
 | 
			
		||||
#include "qapi/error.h"
 | 
			
		||||
 | 
			
		||||
@ -28,7 +28,6 @@
 | 
			
		||||
#include "sysemu/sysemu.h"
 | 
			
		||||
#include "qapi/error.h"
 | 
			
		||||
#include "qemu/range.h"
 | 
			
		||||
#include "exec/ioport.h"
 | 
			
		||||
#include "hw/nvram/fw_cfg.h"
 | 
			
		||||
#include "exec/address-spaces.h"
 | 
			
		||||
#include "hw/acpi/piix4.h"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user