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/NetVsc.c | |
parent | 1f765540f49141e5418c3101df0f7580e7b10aa7 (diff) |
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/NetVsc.c')
-rw-r--r-- | drivers/staging/hv/NetVsc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/hv/NetVsc.c b/drivers/staging/hv/NetVsc.c index ca0348aa55e..f3fd69ae18b 100644 --- a/drivers/staging/hv/NetVsc.c +++ b/drivers/staging/hv/NetVsc.c @@ -1345,7 +1345,7 @@ NetVscOnReceiveCompletion( DEVICE_OBJECT *device = (DEVICE_OBJECT*)packet->Device; NETVSC_DEVICE* netDevice; u64 transactionId=0; - bool fSendReceiveComp = FALSE; + bool fSendReceiveComp = false; DPRINT_ENTER(NETVSC); @@ -1371,7 +1371,7 @@ NetVscOnReceiveCompletion( // Return the xfer page packet itself to the freelist if (packet->XferPagePacket->Count == 0) { - fSendReceiveComp = TRUE; + fSendReceiveComp = true; transactionId = packet->Completion.Recv.ReceiveCompletionTid; INSERT_TAIL_LIST(&netDevice->ReceivePacketList, &packet->XferPagePacket->ListEntry); |