[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [win-pv-devel] [PATCH xennet] Remove unused OID
OID_GEN_LINK_SPEED is apparently not used by NDIS 6.0+ stacks so there is little point in implementing it. Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx> --- src/xennet/adapter.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/xennet/adapter.c b/src/xennet/adapter.c index 66c7e2a..56bdcc8 100644 --- a/src/xennet/adapter.c +++ b/src/xennet/adapter.c @@ -115,7 +115,6 @@ static NDIS_OID XennetSupportedOids[] = OID_GEN_RECEIVE_BLOCK_SIZE, OID_GEN_TRANSMIT_BLOCK_SIZE, OID_GEN_MAC_OPTIONS, - OID_GEN_LINK_SPEED, OID_GEN_MEDIA_CONNECT_STATUS, OID_GEN_VENDOR_DESCRIPTION, OID_GEN_VENDOR_DRIVER_VERSION, @@ -2479,19 +2478,6 @@ AdapterQueryInformation( &BytesWritten); break; - case OID_GEN_LINK_SPEED: - XENVIF_VIF(MacQueryState, - &Adapter->VifInterface, - NULL, - &Value64, - NULL); - BytesNeeded = sizeof(ULONG); - ndisStatus = __SetUlong(Buffer, - BufferLength, - (ULONG)(Value64 / 100), - &BytesWritten); - break; - case OID_GEN_MEDIA_CONNECT_STATUS: XENVIF_VIF(MacQueryState, &Adapter->VifInterface, -- 2.5.3 _______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/win-pv-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |