summaryrefslogtreecommitdiffstats
path: root/hw/pxa2xx_keypad.c
diff options
context:
space:
mode:
authorAmos Kong2012-09-29 07:36:21 +0200
committerStefan Hajnoczi2012-10-05 15:10:21 +0200
commit4d5b97da35ecbfdad6fe1cbe7fdd7d71ef735602 (patch)
treeee0e196c5bc3d4cb7702ff55c5bf7464c86a8783 /hw/pxa2xx_keypad.c
parentqemu-sockets: Fix compiler warning (regression for MinGW) (diff)
downloadqemu-4d5b97da35ecbfdad6fe1cbe7fdd7d71ef735602.tar.gz
qemu-4d5b97da35ecbfdad6fe1cbe7fdd7d71ef735602.tar.xz
qemu-4d5b97da35ecbfdad6fe1cbe7fdd7d71ef735602.zip
cleanup useless return sentence
This patch cleans up return sentences in the end of void functions. Reported-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Amos Kong <akong@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Diffstat (limited to 'hw/pxa2xx_keypad.c')
-rw-r--r--hw/pxa2xx_keypad.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/pxa2xx_keypad.c b/hw/pxa2xx_keypad.c
index 59db02584e..1a997c9c83 100644
--- a/hw/pxa2xx_keypad.c
+++ b/hw/pxa2xx_keypad.c
@@ -172,7 +172,6 @@ static void pxa27x_keyboard_event (PXA2xxKeyPadState *kp, int keycode)
kp->kpc |= KPC_MI;
qemu_irq_raise(kp->irq);
}
- return;
}
static uint64_t pxa2xx_keypad_read(void *opaque, target_phys_addr_t offset,