diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-15 15:46:44 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 15:01:47 -0400 |
commit | 0e727613ac6e1648d681a75d794862225c801d4b (patch) | |
tree | eae5231be9b64b8a08c2823aec5ab0760c64e131 /drivers/staging/hv/ChannelMgmt.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/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 b10db081a19..ff9c9d033f7 100644 --- a/drivers/staging/hv/ChannelMgmt.c +++ b/drivers/staging/hv/ChannelMgmt.c | |||
@@ -240,7 +240,7 @@ VmbusChannelProcessOffer( | |||
240 | VMBUS_CHANNEL* newChannel=(VMBUS_CHANNEL*)context; | 240 | VMBUS_CHANNEL* newChannel=(VMBUS_CHANNEL*)context; |
241 | LIST_ENTRY* anchor; | 241 | LIST_ENTRY* anchor; |
242 | LIST_ENTRY* curr; | 242 | LIST_ENTRY* curr; |
243 | bool fNew=TRUE; | 243 | bool fNew = true; |
244 | VMBUS_CHANNEL* channel; | 244 | VMBUS_CHANNEL* channel; |
245 | 245 | ||
246 | DPRINT_ENTER(VMBUS); | 246 | DPRINT_ENTER(VMBUS); |
@@ -255,7 +255,7 @@ VmbusChannelProcessOffer( | |||
255 | if (!memcmp(&channel->OfferMsg.Offer.InterfaceType, &newChannel->OfferMsg.Offer.InterfaceType,sizeof(GUID)) && | 255 | if (!memcmp(&channel->OfferMsg.Offer.InterfaceType, &newChannel->OfferMsg.Offer.InterfaceType,sizeof(GUID)) && |
256 | !memcmp(&channel->OfferMsg.Offer.InterfaceInstance, &newChannel->OfferMsg.Offer.InterfaceInstance, sizeof(GUID))) | 256 | !memcmp(&channel->OfferMsg.Offer.InterfaceInstance, &newChannel->OfferMsg.Offer.InterfaceInstance, sizeof(GUID))) |
257 | { | 257 | { |
258 | fNew = FALSE; | 258 | fNew = false; |
259 | break; | 259 | break; |
260 | } | 260 | } |
261 | } | 261 | } |