Skip to content

Commit

Permalink
hw/ppc: Don't include m48t59.h if it is not necessary
Browse files Browse the repository at this point in the history
These files don't use anything from m48t59.h, so no need to include
this header here.

Signed-off-by: Thomas Huth <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: David Gibson <[email protected]>
  • Loading branch information
huth authored and dgibson committed Feb 4, 2019
1 parent 382b6f2 commit eac57b4
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion hw/ppc/mac_newworld.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
#include "hw/ppc/mac.h"
#include "hw/input/adb.h"
#include "hw/ppc/mac_dbdma.h"
#include "hw/timer/m48t59.h"
#include "hw/pci/pci.h"
#include "net/net.h"
#include "sysemu/sysemu.h"
Expand Down
1 change: 0 additions & 1 deletion hw/ppc/mac_oldworld.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include "hw/ppc/ppc.h"
#include "mac.h"
#include "hw/input/adb.h"
#include "hw/timer/m48t59.h"
#include "sysemu/sysemu.h"
#include "net/net.h"
#include "hw/isa/isa.h"
Expand Down
2 changes: 0 additions & 2 deletions hw/ppc/ppc.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,8 @@
#include "qemu/timer.h"
#include "sysemu/sysemu.h"
#include "sysemu/cpus.h"
#include "hw/timer/m48t59.h"
#include "qemu/log.h"
#include "qemu/error-report.h"
#include "hw/loader.h"
#include "sysemu/kvm.h"
#include "kvm_ppc.h"
#include "trace.h"
Expand Down
1 change: 0 additions & 1 deletion hw/ppc/ppc_booke.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include "hw/ppc/ppc.h"
#include "qemu/timer.h"
#include "sysemu/sysemu.h"
#include "hw/timer/m48t59.h"
#include "qemu/log.h"
#include "hw/loader.h"
#include "kvm_ppc.h"
Expand Down

0 comments on commit eac57b4

Please sign in to comment.