diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-15 12:46:44 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:47 -0700 |
commit | 0e727613ac6e1648d681a75d794862225c801d4b (patch) | |
tree | eae5231be9b64b8a08c2823aec5ab0760c64e131 /drivers/staging/hv/RndisFilter.c | |
parent | 1f765540f49141e5418c3101df0f7580e7b10aa7 (diff) | |
download | op-kernel-dev-0e727613ac6e1648d681a75d794862225c801d4b.zip op-kernel-dev-0e727613ac6e1648d681a75d794862225c801d4b.tar.gz |
Staging: hv: remove TRUE, FALSE, and NULL usage
Don't define things that are either already provided (like NULL), or you
shouldn't use (like TRUE and FALSE).
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/RndisFilter.c')
-rw-r--r-- | drivers/staging/hv/RndisFilter.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/hv/RndisFilter.c b/drivers/staging/hv/RndisFilter.c index 92fc052..0150733 100644 --- a/drivers/staging/hv/RndisFilter.c +++ b/drivers/staging/hv/RndisFilter.c @@ -357,7 +357,7 @@ RndisFilterSendRequest( // Setup the packet to send it packet = &Request->Packet; - packet->IsDataPacket = FALSE; + packet->IsDataPacket = false; packet->TotalDataBufferLength = Request->RequestMessage.MessageLength; packet->PageBufferCount = 1; @@ -384,7 +384,7 @@ RndisFilterReceiveResponse( LIST_ENTRY *anchor; LIST_ENTRY *curr; RNDIS_REQUEST *request=NULL; - bool found=FALSE; + bool found = false; DPRINT_ENTER(NETVSC); @@ -399,7 +399,7 @@ RndisFilterReceiveResponse( DPRINT_DBG(NETVSC, "found rndis request for this response (id 0x%x req type 0x%x res type 0x%x)", request->RequestMessage.Message.InitializeRequest.RequestId, request->RequestMessage.NdisMessageType, Response->NdisMessageType); - found = TRUE; + found = true; break; } } @@ -485,7 +485,7 @@ RndisFilterReceiveData( Packet->PageBuffers[0].Offset += dataOffset; Packet->PageBuffers[0].Length -= dataOffset; - Packet->IsDataPacket = TRUE; + Packet->IsDataPacket = true; gRndisFilter.InnerDriver.OnReceiveCallback(Device->NetDevice->Device, Packet); @@ -1112,7 +1112,7 @@ RndisFilterOnSend( rndisPacket->DataOffset = sizeof(RNDIS_PACKET); rndisPacket->DataLength = Packet->TotalDataBufferLength; - Packet->IsDataPacket = TRUE; + Packet->IsDataPacket = true; Packet->PageBuffers[0].Pfn = GetPhysicalAddress(rndisMessage) >> PAGE_SHIFT; Packet->PageBuffers[0].Offset = (unsigned long)rndisMessage & (PAGE_SIZE-1); Packet->PageBuffers[0].Length = rndisMessageSize; |