diff options
| author | Mark Cave-Ayland | 2020-06-23 22:49:18 +0200 |
|---|---|---|
| committer | Mark Cave-Ayland | 2020-06-26 11:13:51 +0200 |
| commit | dcb091c40ef8c77590b1c5b7160ec428f2a2a053 (patch) | |
| tree | e1759fba0cd608d8055e6b78a98bb5f55b9c3d97 /include | |
| parent | cuda: convert ADB autopoll timer from ns to ms (diff) | |
| download | qemu-dcb091c40ef8c77590b1c5b7160ec428f2a2a053.tar.gz qemu-dcb091c40ef8c77590b1c5b7160ec428f2a2a053.tar.xz qemu-dcb091c40ef8c77590b1c5b7160ec428f2a2a053.zip | |
pmu: fix duplicate autopoll mask variable
It seems that during the initial work to introduce the via-pmu ADB support a
duplicate autopoll mask variable was accidentally left in place.
Remove the duplicate autopoll_mask variable and switch everything over to
use adb_poll_mask instead.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tested-by: Finn Thain <fthain@telegraphics.com.au>
Acked-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20200623204936.24064-5-mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/misc/macio/pmu.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/misc/macio/pmu.h b/include/hw/misc/macio/pmu.h index 7ef83dee4c..4f34b6f9e7 100644 --- a/include/hw/misc/macio/pmu.h +++ b/include/hw/misc/macio/pmu.h @@ -220,7 +220,6 @@ typedef struct PMUState { ADBBusState adb_bus; uint16_t adb_poll_mask; uint8_t autopoll_rate_ms; - uint8_t autopoll_mask; QEMUTimer *adb_poll_timer; uint8_t adb_reply_size; uint8_t adb_reply[ADB_MAX_OUT_LEN]; |
