From 02bbc6ee996d891988443384cc2398b1e46f3002 Mon Sep 17 00:00:00 2001 From: erictian Date: Sat, 29 Sep 2012 02:44:33 +0000 Subject: =?UTF-8?q?MdeModulePkg:removes=20the=20unreachable=20=E2=80=98bre?= =?UTF-8?q?ak=E2=80=99=20instruction=20after=20a=20=E2=80=98return?= =?UTF-8?q?=E2=80=99=20instruction=20in=20the=20switch().?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Olivier Martin Signed-off-by: Feng Tian Reviewed-by: Liming Gao git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13778 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c | 6 ------ MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Input.c | 1 - 2 files changed, 7 deletions(-) (limited to 'MdeModulePkg/Universal/Network') diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c index f86e5c2630..688f9a7e99 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c @@ -662,8 +662,6 @@ Tcp4Dispatcher ( return Tcp4AttachPcb (Sock); - break; - case SOCK_FLUSH: Tcp4FlushPcb (Tcb); @@ -683,16 +681,12 @@ Tcp4Dispatcher ( (EFI_TCP4_CONFIG_DATA *) Data ); - break; - case SOCK_MODE: ASSERT ((Data != NULL) && (Tcb != NULL)); return Tcp4GetMode (Tcb, (TCP4_MODE_DATA *) Data); - break; - case SOCK_ROUTE: ASSERT ((Data != NULL) && (Tcb != NULL)); diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Input.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Input.c index f8dcc365e3..806ae295e1 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Input.c +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Input.c @@ -478,7 +478,6 @@ TcpDeliverData ( // NetbufFree (Nbuf); return -1; - break; default: break; } -- cgit v1.2.3