]> Pileus Git - ~andy/linux/commitdiff
Staging: hv: vmbus: Get rid of unnecessary comments in channel.c
authorK. Y. Srinivasan <kys@microsoft.com>
Thu, 25 Aug 2011 16:48:56 +0000 (09:48 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 25 Aug 2011 22:23:17 +0000 (15:23 -0700)
Get rid of unnecessary comments in channel.c.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/channel.c

index ebd75529549d4f0bba5d9bc3c864d093a2ef99da..e02060e719d2c6f60ba86204b2c800d6aef648be 100644 (file)
@@ -76,7 +76,6 @@ void vmbus_get_debug_info(struct vmbus_channel *channel,
        struct hv_monitor_page *monitorpage;
        u8 monitor_group = (u8)channel->offermsg.monitorid / 32;
        u8 monitor_offset = (u8)channel->offermsg.monitorid % 32;
-       /* u32 monitorBit       = 1 << monitorOffset; */
 
        debuginfo->relid = channel->offermsg.child_relid;
        debuginfo->state = channel->state;
@@ -392,7 +391,6 @@ int vmbus_establish_gpadl(struct vmbus_channel *channel, void *kbuffer,
 {
        struct vmbus_channel_gpadl_header *gpadlmsg;
        struct vmbus_channel_gpadl_body *gpadl_body;
-       /* struct vmbus_channel_gpadl_created *gpadlCreated; */
        struct vmbus_channel_msginfo *msginfo = NULL;
        struct vmbus_channel_msginfo *submsginfo;
        u32 msgcount;
@@ -474,8 +472,6 @@ int vmbus_teardown_gpadl(struct vmbus_channel *channel, u32 gpadl_handle)
        unsigned long flags;
        int ret, t;
 
-       /* ASSERT(gpadl_handle != 0); */
-
        info = kmalloc(sizeof(*info) +
                       sizeof(struct vmbus_channel_gpadl_teardown), GFP_KERNEL);
        if (!info)