diff options
Diffstat (limited to 'StdLib')
-rw-r--r-- | StdLib/EfiSocketLib/Socket.c | 1 | ||||
-rw-r--r-- | StdLib/LibC/Uefi/Devices/Console/daConsole.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/StdLib/EfiSocketLib/Socket.c b/StdLib/EfiSocketLib/Socket.c index 96a20c331e..d782b435e6 100644 --- a/StdLib/EfiSocketLib/Socket.c +++ b/StdLib/EfiSocketLib/Socket.c @@ -4006,6 +4006,7 @@ EslSocketPortCloseComplete ( // Determine if the receive operation is pending
Status = EslSocketPortCloseRxDone ( pPort );
DBG_EXIT_STATUS ( Status );
+ --Status;
}
diff --git a/StdLib/LibC/Uefi/Devices/Console/daConsole.c b/StdLib/LibC/Uefi/Devices/Console/daConsole.c index 1f40177d47..884e7017b4 100644 --- a/StdLib/LibC/Uefi/Devices/Console/daConsole.c +++ b/StdLib/LibC/Uefi/Devices/Console/daConsole.c @@ -586,7 +586,6 @@ da_ConPoll( short events
)
{
- EFI_SIMPLE_TEXT_INPUT_PROTOCOL *Proto;
ConInstance *Stream;
EFI_STATUS Status = RETURN_SUCCESS;
short RdyMask = 0;
@@ -600,7 +599,6 @@ da_ConPoll( }
if(Stream->InstanceNum == 0) {
// STDIN: Only input is supported for this device
- Proto = (EFI_SIMPLE_TEXT_INPUT_PROTOCOL *)Stream->Dev;
Status = da_ConRawRead (filp, &Stream->UnGetKey);
if(Status == RETURN_SUCCESS) {
RdyMask = POLLIN;
|