]> git.proxmox.com Git - mirror_qemu.git/commit
hw/block/pflash_cfi02: Extract the pflash_data_read() function
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Sun, 5 May 2019 21:24:51 +0000 (23:24 +0200)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 2 Jul 2019 00:31:13 +0000 (02:31 +0200)
commit06e8b8e3e1bb5f2d189197b050b23d9da3955a41
tree2f660812b52840e1a0717fbff4ffe0b820455439
parent3e4bcf89b7acea62e248ee048c1c67767be88f98
hw/block/pflash_cfi02: Extract the pflash_data_read() function

Extract the code block in a new function, remove a goto statement.

Signed-off-by: Stephen Checkoway <stephen.checkoway@oberlin.edu>
Message-Id: <20190426162624.55977-3-stephen.checkoway@oberlin.edu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
[PMD: Extracted from bigger patch, remove the XXX tracing comment]
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/block/pflash_cfi02.c