]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
Staging: hv: Get rid of some dead code in connection.c
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 10 May 2011 14:55:45 +0000 (07:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 May 2011 20:49:17 +0000 (13:49 -0700)
Get rid some commented code and dated comments.T

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/connection.c

index 3632bcc42e39762e496746112445de93bca7e2aa..dd625855b08fc9144ccdba19607d9cc509132227 100644 (file)
@@ -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);