From: K. Y. Srinivasan Date: Tue, 10 May 2011 14:55:45 +0000 (-0700) Subject: Staging: hv: Get rid of some dead code in connection.c X-Git-Tag: v3.0-rc1~336^2~315 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6d81d33059e3a062660fd671ea8842662373dfb9;p=karo-tx-linux.git 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 Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- 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);