From b21faa25c6d25a76c09f1e05a1b18ee2372e3841 Mon Sep 17 00:00:00 2001 From: Ed Cashin Date: Thu, 4 Oct 2012 17:16:35 -0700 Subject: aoe: remove unused code and add cosmetic improvements This change removes some unused code and attempts to increase code consistency. Signed-off-by: Ed Cashin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/block/aoe/aoechr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/block/aoe/aoechr.c') diff --git a/drivers/block/aoe/aoechr.c b/drivers/block/aoe/aoechr.c index acdd0adaf5da..723e60419ed8 100644 --- a/drivers/block/aoe/aoechr.c +++ b/drivers/block/aoe/aoechr.c @@ -174,6 +174,7 @@ aoechr_write(struct file *filp, const char __user *buf, size_t cnt, loff_t *offp break; case MINOR_FLUSH: ret = aoedev_flush(buf, cnt); + break; } if (ret == 0) ret = cnt; -- cgit v1.2.1