hw/net: Remove unnecessary header includes
Headers like "hw/loader.h" and "qemu/sockets.h" are not needed in the hw/net/*.c files. And Some other headers are included via other headers already, so we can drop them, too. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
parent
78cd6f7bf6
commit
b20219b645
@ -30,7 +30,6 @@
|
||||
#include "hw/pci/pci.h"
|
||||
#include "net/net.h"
|
||||
#include "net/checksum.h"
|
||||
#include "hw/loader.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "sysemu/dma.h"
|
||||
#include "qemu/iov.h"
|
||||
|
@ -36,10 +36,7 @@
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "hw/sysbus.h"
|
||||
#include "net/net.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "qemu/sockets.h"
|
||||
#include "hw/sparc/sparc32_dma.h"
|
||||
#include "hw/net/lance.h"
|
||||
#include "trace.h"
|
||||
|
@ -23,10 +23,8 @@
|
||||
*/
|
||||
#include "qemu/osdep.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "net/net.h"
|
||||
#include "net/eth.h"
|
||||
#include "ne2000.h"
|
||||
#include "hw/loader.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
|
||||
/* debug NE2000 card */
|
||||
|
@ -30,7 +30,6 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "net/net.h"
|
||||
#include "hw/loader.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "sysemu/dma.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
|
@ -40,7 +40,6 @@
|
||||
#include "net/net.h"
|
||||
#include "net/eth.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "qemu/sockets.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "trace.h"
|
||||
|
||||
|
@ -58,9 +58,7 @@
|
||||
#include "qemu/timer.h"
|
||||
#include "net/net.h"
|
||||
#include "net/eth.h"
|
||||
#include "hw/loader.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "qemu/iov.h"
|
||||
|
||||
/* debug RTL8139 card */
|
||||
//#define DEBUG_RTL8139 1
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include "hw/sysbus.h"
|
||||
#include "qemu/log.h"
|
||||
#include "net/net.h"
|
||||
#include "net/checksum.h"
|
||||
|
||||
#ifdef DEBUG_XGMAC
|
||||
#define DEBUGF_BRK(message, args...) do { \
|
||||
|
Loading…
Reference in New Issue
Block a user