* [PATCH] block: loop: remvoe redundant code
@ 2018-12-22 12:47 Chengguang Xu
2018-12-22 21:46 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Chengguang Xu @ 2018-12-22 12:47 UTC (permalink / raw)
To: axboe; +Cc: linux-block, Chengguang Xu
Code cleanup for removing redundant break in switch case.
Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
---
drivers/block/loop.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index cb0cc8685076..4e1d8aa6e1e9 100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -615,7 +615,6 @@ static int do_req_filebacked(struct loop_device *lo, struct request *rq)
default:
WARN_ON_ONCE(1);
return -EIO;
- break;
}
}
--
2.17.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] block: loop: remvoe redundant code
2018-12-22 12:47 [PATCH] block: loop: remvoe redundant code Chengguang Xu
@ 2018-12-22 21:46 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2018-12-22 21:46 UTC (permalink / raw)
To: Chengguang Xu; +Cc: linux-block
On 12/22/18 5:47 AM, Chengguang Xu wrote:
> Code cleanup for removing redundant break in switch case.
Applied, thanks.
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-12-22 21:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-22 12:47 [PATCH] block: loop: remvoe redundant code Chengguang Xu
2018-12-22 21:46 ` Jens Axboe
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.