Skip to content

Commit

Permalink
Staging: hv: Get rid of some dead code in connection.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed May 11, 2011
1 parent b004386 commit 6d81d33
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions drivers/staging/hv/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 6d81d33

Please sign in to comment.