https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9e2dd8676a787551d0029…
commit 9e2dd8676a787551d0029a51b28b71d478c5c756
Author: Peter Wathall <PeterWathall(a)users.noreply.github.com>
AuthorDate: Tue Apr 24 20:35:23 2018 +0000
Commit: Ged Murphy <gedmurphy(a)reactos.org>
CommitDate: Tue Apr 24 21:35:23 2018 +0100
Removed unreachable line (#517)
The break statement was unnecessary because the goto on the line before it returns
from the routine so it can never be reached
---
drivers/storage/class/class2/class2.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/storage/class/class2/class2.c
b/drivers/storage/class/class2/class2.c
index 52fdf53d5e..2d29f64575 100644
--- a/drivers/storage/class/class2/class2.c
+++ b/drivers/storage/class/class2/class2.c
@@ -4170,8 +4170,6 @@ Return Value:
IoCompleteRequest(Irp, IO_NO_INCREMENT);
status = STATUS_INSUFFICIENT_RESOURCES;
goto SetStatusAndReturn;
-
- break;
}
irp2->Tail.Overlay.Thread = Irp->Tail.Overlay.Thread;