diff options
author | Ed Cashin <ecashin@coraid.com> | 2012-10-04 20:16:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-05 14:05:27 -0400 |
commit | b21faa25c6d25a76c09f1e05a1b18ee2372e3841 (patch) | |
tree | 0a09a402dbfa7f2179a0921be004e53d19201053 /drivers/block/aoe/aoechr.c | |
parent | 1b86fda9adf1b691a76f8ceddfc59d0c8386257c (diff) |
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 <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/aoe/aoechr.c')
-rw-r--r-- | drivers/block/aoe/aoechr.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 | |||
174 | break; | 174 | break; |
175 | case MINOR_FLUSH: | 175 | case MINOR_FLUSH: |
176 | ret = aoedev_flush(buf, cnt); | 176 | ret = aoedev_flush(buf, cnt); |
177 | break; | ||
177 | } | 178 | } |
178 | if (ret == 0) | 179 | if (ret == 0) |
179 | ret = cnt; | 180 | ret = cnt; |