aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK. Y. Srinivasan <[email protected]>2011-05-10 07:55:45 -0700
committerGreg Kroah-Hartman <[email protected]>2011-05-11 13:49:17 -0700
commit6d81d33059e3a062660fd671ea8842662373dfb9 (patch)
treec07e4366c911ec055de95b513e9843f10e4ac8fd
parentb0043863a0097c3ebe59f91a91fc25d8e1e575e8 (diff)
Staging: hv: Get rid of some dead code in connection.c
Get rid some commented code and dated comments.T Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Haiyang Zhang <[email protected]> Signed-off-by: Abhishek Kane <[email protected]> Signed-off-by: Hank Janssen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/hv/connection.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/staging/hv/connection.c b/drivers/staging/hv/connection.c
index 3632bcc42e39..dd625855b08f 100644
--- a/drivers/staging/hv/connection.c
+++ b/drivers/staging/hv/connection.c
@@ -263,11 +263,6 @@ static void process_chn_event(u32 relid)
if (channel) {
vmbus_onchannel_event(channel);
- /*
- * WorkQueueQueueWorkItem(channel->dataWorkQueue,
- * vmbus_onchannel_event,
- * (void*)channel);
- */
} else {
pr_err("channel not found for relid - %u\n", relid);
}
@@ -295,7 +290,10 @@ void vmbus_on_event(unsigned long data)
relid = (dword << 5) + bit;
if (relid == 0) {
- /* special case - vmbus channel protocol msg */
+ /*
+ * Special case - vmbus
+ * channel protocol msg
+ */
continue;
}
process_chn_event(relid);