projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbe77b6
)
virtio-console: Remove unnecessary braces
author
Amit Shah
<amit.shah@redhat.com>
Fri, 10 Dec 2010 11:40:43 +0000
(17:10 +0530)
committer
Amit Shah
<amit.shah@redhat.com>
Wed, 19 Jan 2011 12:02:29 +0000
(17:32 +0530)
Remove unnecessary braces around a case statement.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
hw/virtio-console.c
patch
|
blob
|
history
diff --git
a/hw/virtio-console.c
b/hw/virtio-console.c
index
d7fe68b
..
d0b9354
100644
(file)
--- a/
hw/virtio-console.c
+++ b/
hw/virtio-console.c
@@
-48,10
+48,9
@@
static void chr_event(void *opaque, int event)
VirtConsole *vcon = opaque;
switch (event) {
- case CHR_EVENT_OPENED:
{
+ case CHR_EVENT_OPENED:
virtio_serial_open(&vcon->port);
break;
- }
case CHR_EVENT_CLOSED:
virtio_serial_close(&vcon->port);
break;