OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c411036
)
block: sunvdc: remove redundant code
author
Chengguang Xu
<cgxu519@gmx.com>
Sat, 22 Dec 2018 12:47:56 +0000
(20:47 +0800)
committer
Jens Axboe
<axboe@kernel.dk>
Sat, 22 Dec 2018 21:45:33 +0000
(14:45 -0700)
Code cleanup for removing redundant break in switch case.
Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/sunvdc.c
patch
|
blob
|
history
diff --git
a/drivers/block/sunvdc.c
b/drivers/block/sunvdc.c
index
9c0553d
..
0ff27e2
100644
(file)
--- a/
drivers/block/sunvdc.c
+++ b/
drivers/block/sunvdc.c
@@
-633,7
+633,6
@@
static int generic_request(struct vdc_port *port, u8 op, void *buf, int len)
case VD_OP_GET_EFI:
case VD_OP_SET_EFI:
return -EOPNOTSUPP;
- break;
};
map_perm |= LDC_MAP_SHADOW | LDC_MAP_DIRECT | LDC_MAP_IO;