Skip to content

Commit

Permalink
hw/rtc/aspeed_rtc: Remove unused includes
Browse files Browse the repository at this point in the history
The system <stdint.h> include is already provided by "osdep.h"
(the scripts/clean-includes file clean such headers).

Commit 64552b6 suggests we don't need to include "hw/irq.h":

    Move the qemu_irq and qemu_irq_handler typedefs from hw/irq.h to
    qemu/typedefs.h, and then include hw/irq.h only where it's still
    needed.

Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20191003230404.19384-15-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
  • Loading branch information
philmd authored and vivier committed Oct 24, 2019
1 parent 2330113 commit fabb862
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/hw/rtc/aspeed_rtc.h
Expand Up @@ -8,9 +8,6 @@
#ifndef HW_RTC_ASPEED_RTC_H
#define HW_RTC_ASPEED_RTC_H

#include <stdint.h>

#include "hw/irq.h"
#include "hw/sysbus.h"

typedef struct AspeedRtcState {
Expand Down

0 comments on commit fabb862

Please sign in to comment.