summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorChengguang Xu <cgxu519@gmx.com>2018-12-22 20:47:15 +0800
committerJens Axboe <axboe@kernel.dk>2018-12-22 14:45:31 -0700
commitc41103691b7fc4fda11f74a90a4fbd9d265c8cc9 (patch)
tree276d8575565dfef1a02ff657407bbab893c3f62a /drivers/block
parent2e5b2d7c408ed5fbe918b7409496b1acc84ff7bc (diff)
block: loop: 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')
-rw-r--r--drivers/block/loop.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index 0939f36548c9..b8a0720d3653 100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -616,7 +616,6 @@ static int do_req_filebacked(struct loop_device *lo, struct request *rq)
default:
WARN_ON_ONCE(1);
return -EIO;
- break;
}
}