summaryrefslogtreecommitdiff
path: root/drivers/block/sunvdc.c
diff options
context:
space:
mode:
authorChengguang Xu <cgxu519@gmx.com>2018-12-22 15:47:56 +0300
committerJens Axboe <axboe@kernel.dk>2018-12-23 00:45:33 +0300
commit93f87a74fde682e0b53c90ea25e744003d294ae2 (patch)
treee6ef5afeaf3479698f13d32449c79e3048dc562f /drivers/block/sunvdc.c
parentc41103691b7fc4fda11f74a90a4fbd9d265c8cc9 (diff)
downloadlinux-93f87a74fde682e0b53c90ea25e744003d294ae2.tar.xz
block: sunvdc: remove redundant code
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>
Diffstat (limited to 'drivers/block/sunvdc.c')
-rw-r--r--drivers/block/sunvdc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/sunvdc.c b/drivers/block/sunvdc.c
index 9c0553dd13e7..0ff27e2d98c4 100644
--- 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;