\r
ASSERT (Tcb != NULL);\r
\r
- Status = EfiAcquireLockOrFail (&(Sock->Lock));\r
- if (EFI_ERROR (Status)) {\r
-\r
- DEBUG ((EFI_D_ERROR, "SockDestroyChild: Get the lock to "\r
- "access socket failed with %r\n", Status));\r
-\r
- return EFI_ACCESS_DENIED;\r
- }\r
-\r
//\r
// Close the IP protocol.\r
//\r
NULL\r
);\r
\r
+ Status = EfiAcquireLockOrFail (&(Sock->Lock));\r
+ if (EFI_ERROR (Status)) {\r
+\r
+ DEBUG ((EFI_D_ERROR, "SockDestroyChild: Get the lock to "\r
+ "access socket failed with %r\n", Status));\r
+\r
+ return EFI_ACCESS_DENIED;\r
+ }\r
+\r
//\r
// force protocol layer to detach the PCB\r
//\r