summary refs log tree commit diff stats
path: root/hw/arm/palm.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-01-09 15:02:55 +0100
committerPeter Maydell <peter.maydell@linaro.org>2023-01-12 17:15:09 +0000
commita75ed3c43064528f3409f0be286b62b9c3a47218 (patch)
treefdc3c4cc20b210a378ac7bea9bb9c3cefff1b965 /hw/arm/palm.c
parent28180159ecf38d097475a5429474a4be9d2a24b8 (diff)
downloadfocaccia-qemu-a75ed3c43064528f3409f0be286b62b9c3a47218.tar.gz
focaccia-qemu-a75ed3c43064528f3409f0be286b62b9c3a47218.zip
hw/arm/omap: Drop useless casts from void * to pointer
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230109140306.23161-4-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/palm.c')
-rw-r--r--hw/arm/palm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/palm.c b/hw/arm/palm.c
index 68e11dd1ec..1457f10c83 100644
--- a/hw/arm/palm.c
+++ b/hw/arm/palm.c
@@ -115,7 +115,7 @@ static struct {
 
 static void palmte_button_event(void *opaque, int keycode)
 {
-    struct omap_mpu_state_s *cpu = (struct omap_mpu_state_s *) opaque;
+    struct omap_mpu_state_s *cpu = opaque;
 
     if (palmte_keymap[keycode & 0x7f].row != -1)
         omap_mpuio_key(cpu->mpuio,