diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-06 00:04:19 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-11 14:36:15 -0400 |
commit | e61fbe66cbe10fed6bcc2d07ac802a7386b93673 (patch) | |
tree | 686d2df553218690b1fafdb5a6b85c0b1b696172 /drivers/staging/hv | |
parent | e8d5373d664caacce2d7623810c91b43f08eabab (diff) |
Staging: hv: Channel.c: fix up compiler warning
In the series of ASSERT removals, somehow we ended up with a compiler
warning in Channel.c. This patch fixes that up.
Cc: Bill Pemberton <wfp5p@virginia.edu>
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')
-rw-r--r-- | drivers/staging/hv/Channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/Channel.c b/drivers/staging/hv/Channel.c index 158f62d8553..eab7d16dd5e 100644 --- a/drivers/staging/hv/Channel.c +++ b/drivers/staging/hv/Channel.c | |||
@@ -376,7 +376,7 @@ static int VmbusChannelCreateGpadlHeader(void *Kbuffer, u32 Size, | |||
376 | struct vmbus_channel_gpadl_header *gpaHeader; | 376 | struct vmbus_channel_gpadl_header *gpaHeader; |
377 | struct vmbus_channel_gpadl_body *gpadlBody; | 377 | struct vmbus_channel_gpadl_body *gpadlBody; |
378 | struct vmbus_channel_msginfo *msgHeader; | 378 | struct vmbus_channel_msginfo *msgHeader; |
379 | struct vmbus_channel_msginfo *msgBody; | 379 | struct vmbus_channel_msginfo *msgBody = NULL; |
380 | u32 msgSize; | 380 | u32 msgSize; |
381 | 381 | ||
382 | int pfnSum, pfnCount, pfnLeft, pfnCurr, pfnSize; | 382 | int pfnSum, pfnCount, pfnLeft, pfnCurr, pfnSize; |