remove whitespace from end of lines
[reactos.git] / reactos / drivers / net / tcpip / tcpip / iinfo.c
index 54225c5..8e3eaf9 100644 (file)
@@ -21,24 +21,24 @@ TDI_STATUS InfoTdiQueryGetInterfaceMIB(TDIEntityID *ID,
     ULONG Size;
     UINT DescrLenMax = MAX_IFDESCR_LEN - 1;
 
-    TI_DbgPrint(DEBUG_INFO, 
+    TI_DbgPrint(DEBUG_INFO,
                ("Getting IFEntry MIB (IF %08x LA %08x) (%04x:%d)\n",
                 Interface, IF, ID->tei_entity, ID->tei_instance));
 
-    OutData = 
-       (PIFENTRY)ExAllocatePool( NonPagedPool, 
+    OutData =
+       (PIFENTRY)ExAllocatePool( NonPagedPool,
                                  sizeof(IFENTRY) + MAX_IFDESCR_LEN );
-    
+
     if( !OutData ) return TDI_INVALID_REQUEST; /* Out of memory */
 
     RtlZeroMemory( OutData, sizeof(IFENTRY) + MAX_IFDESCR_LEN );
 
     OutData->Index = Interface->Index;
     /* viz: tcpip keeps those indices */
-    OutData->Type = Interface == 
+    OutData->Type = Interface ==
         Loopback ? MIB_IF_TYPE_LOOPBACK : MIB_IF_TYPE_ETHERNET;
     OutData->Mtu = Interface->MTU;
-    TI_DbgPrint(DEBUG_INFO, 
+    TI_DbgPrint(DEBUG_INFO,
                ("Getting interface speed\n"));
     OutData->PhysAddrLen = Interface->AddressLength;
     OutData->AdminStatus = MIB_IF_ADMIN_STATUS_UP;
@@ -46,7 +46,7 @@ TDI_STATUS InfoTdiQueryGetInterfaceMIB(TDIEntityID *ID,
     Status = GetInterfaceConnectionStatus( Interface, &OutData->OperStatus );
 
     /* Not sure what to do here, but not ready seems a safe bet on failure */
-    if( !NT_SUCCESS(Status) ) 
+    if( !NT_SUCCESS(Status) )
         OutData->OperStatus = NdisHardwareStatusNotReady;
 
     IFDescr = (PCHAR)&OutData[1];
@@ -77,7 +77,7 @@ TDI_STATUS InfoTdiQueryGetInterfaceMIB(TDIEntityID *ID,
 
     return Status;
 }
-    
+
 TDI_STATUS InfoInterfaceTdiQueryEx( UINT InfoClass,
                                    UINT InfoType,
                                    UINT InfoId,
@@ -90,11 +90,11 @@ TDI_STATUS InfoInterfaceTdiQueryEx( UINT InfoClass,
        InfoId == ENTITY_TYPE_ID ) {
        ULONG Temp = IF_MIB;
        return InfoCopyOut( (PCHAR)&Temp, sizeof(Temp), Buffer, BufferSize );
-    } else if( InfoClass == INFO_CLASS_PROTOCOL && 
+    } else if( InfoClass == INFO_CLASS_PROTOCOL &&
               InfoType == INFO_TYPE_PROVIDER &&
               InfoId == IF_MIB_STATS_ID ) {
        return InfoTdiQueryGetInterfaceMIB( id, Context, Buffer, BufferSize );
-    } else 
+    } else
        return TDI_INVALID_REQUEST;
 }