staging: hv: Remove all unneeded DPRINT from hv_utils
authorHank Janssen <hjanssen@microsoft.com>
Tue, 29 Mar 2011 20:58:46 +0000 (13:58 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Apr 2011 05:03:06 +0000 (22:03 -0700)
Remove all un-needed DPRINT calls from hv_utils.

This patch deals with hv_utils only.

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

index faf692e4126e93ca54fd9c384dea964e21800d6b..77758204586a132ee98b0fef24d8436ed3cd7c67 100644 (file)
@@ -259,9 +259,6 @@ void hv_kvp_onchannelcallback(void *context)
        vmbus_recvpacket(channel, recv_buffer, PAGE_SIZE, &recvlen, &requestid);
 
        if (recvlen > 0) {
-               DPRINT_DBG(VMBUS, "KVP packet: len=%d, requestid=%lld",
-                          recvlen, requestid);
-
                icmsghdrp = (struct icmsg_hdr *)&recv_buffer[
                        sizeof(struct vmbuspipe_hdr)];
 
index 4792f2c402b269a1b23693b5c114e6dd25502deb..3e74f79720b11c14b51949fb8f0fe66adf004c84 100644 (file)
@@ -59,9 +59,6 @@ static void shutdown_onchannelcallback(void *context)
                         PAGE_SIZE, &recvlen, &requestid);
 
        if (recvlen > 0) {
-               DPRINT_DBG(VMBUS, "shutdown packet: len=%d, requestid=%lld",
-                          recvlen, requestid);
-
                icmsghdrp = (struct icmsg_hdr *)&shut_txf_buf[
                        sizeof(struct vmbuspipe_hdr)];
 
@@ -159,9 +156,6 @@ static void timesync_onchannelcallback(void *context)
                         PAGE_SIZE, &recvlen, &requestid);
 
        if (recvlen > 0) {
-               DPRINT_DBG(VMBUS, "timesync packet: recvlen=%d, requestid=%lld",
-                       recvlen, requestid);
-
                icmsghdrp = (struct icmsg_hdr *)&time_txf_buf[
                                sizeof(struct vmbuspipe_hdr)];
 
@@ -200,9 +194,6 @@ static void heartbeat_onchannelcallback(void *context)
                         PAGE_SIZE, &recvlen, &requestid);
 
        if (recvlen > 0) {
-               DPRINT_DBG(VMBUS, "heartbeat packet: len=%d, requestid=%lld",
-                          recvlen, requestid);
-
                icmsghdrp = (struct icmsg_hdr *)&hbeat_txf_buf[
                                sizeof(struct vmbuspipe_hdr)];
 
@@ -214,9 +205,6 @@ static void heartbeat_onchannelcallback(void *context)
                                        sizeof(struct vmbuspipe_hdr) +
                                        sizeof(struct icmsg_hdr)];
 
-                       DPRINT_DBG(VMBUS, "heartbeat seq = %lld",
-                                  heartbeat_msg->seq_num);
-
                        heartbeat_msg->seq_num += 1;
                }