aboutsummaryrefslogtreecommitdiff
path: root/chardev/spice.c
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2020-09-30 12:22:27 -0700
committerKlaus Jensen <k.jensen@samsung.com>2020-10-27 11:29:20 +0100
commit8c125590dfa33699a267c797a41939c1ac8b77bf (patch)
tree8383817d3c0b9b8ae545ac218839d0d5b42ab544 /chardev/spice.c
parentb20804946bce7545ec9758d82806ee30a21b6211 (diff)
downloadqemu-8c125590dfa33699a267c797a41939c1ac8b77bf.zip
qemu-8c125590dfa33699a267c797a41939c1ac8b77bf.tar.gz
qemu-8c125590dfa33699a267c797a41939c1ac8b77bf.tar.bz2
hw/block/nvme: remove pointless rw indirection
The code switches on the opcode to invoke a function specific to that opcode. There's no point in consolidating back to a common function that just switches on that same opcode without any actual common code. Restore the opcode specific behavior without going back through another level of switches. Signed-off-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'chardev/spice.c')
0 files changed, 0 insertions, 0 deletions