diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-15 19:46:44 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 19:01:47 (GMT) |
commit | 0e727613ac6e1648d681a75d794862225c801d4b (patch) | |
tree | eae5231be9b64b8a08c2823aec5ab0760c64e131 /drivers/staging/hv/ChannelMgmt.c | |
parent | 1f765540f49141e5418c3101df0f7580e7b10aa7 (diff) | |
download | linux-fsl-qoriq-0e727613ac6e1648d681a75d794862225c801d4b.tar.xz |
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/ChannelMgmt.c')
-rw-r--r-- | drivers/staging/hv/ChannelMgmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/hv/ChannelMgmt.c b/drivers/staging/hv/ChannelMgmt.c index b10db08..ff9c9d0 100644 --- a/drivers/staging/hv/ChannelMgmt.c +++ b/drivers/staging/hv/ChannelMgmt.c @@ -240,7 +240,7 @@ VmbusChannelProcessOffer( VMBUS_CHANNEL* newChannel=(VMBUS_CHANNEL*)context; LIST_ENTRY* anchor; LIST_ENTRY* curr; - bool fNew=TRUE; + bool fNew = true; VMBUS_CHANNEL* channel; DPRINT_ENTER(VMBUS); @@ -255,7 +255,7 @@ VmbusChannelProcessOffer( if (!memcmp(&channel->OfferMsg.Offer.InterfaceType, &newChannel->OfferMsg.Offer.InterfaceType,sizeof(GUID)) && !memcmp(&channel->OfferMsg.Offer.InterfaceInstance, &newChannel->OfferMsg.Offer.InterfaceInstance, sizeof(GUID))) { - fNew = FALSE; + fNew = false; break; } } |