summaryrefslogtreecommitdiffstats
path: root/hw/pflash_cfi02.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/pflash_cfi02.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/pflash_cfi02.c')
-rw-r--r--hw/pflash_cfi02.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/pflash_cfi02.c b/hw/pflash_cfi02.c
index 8cb1549587..39337ec304 100644
--- a/hw/pflash_cfi02.c
+++ b/hw/pflash_cfi02.c
@@ -474,7 +474,6 @@ static void pflash_write (pflash_t *pfl, target_phys_addr_t offset,
do_bypass:
pfl->wcycle = 2;
pfl->cmd = 0;
- return;
}