aboutsummaryrefslogtreecommitdiff
path: root/block/nbd-client.h
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2019-06-11 13:27:18 +0300
committerEric Blake <eblake@redhat.com>2019-06-13 09:35:53 -0500
commit0a93b359db270788b81c1dba6ce868877381fa94 (patch)
tree7753ad0dcbb3f3ba9dabbfc4915d283e2bced949 /block/nbd-client.h
parent416e34bd04bea32a6e68c103dbbb4210a1f1d0dd (diff)
block/nbd-client: drop stale logout
Drop one on failure path (we have errp) and turn two others into trace points. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20190611102720.86114-2-vsementsov@virtuozzo.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'block/nbd-client.h')
-rw-r--r--block/nbd-client.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/block/nbd-client.h b/block/nbd-client.h
index 4587053114..570538f4c8 100644
--- a/block/nbd-client.h
+++ b/block/nbd-client.h
@@ -5,15 +5,6 @@
#include "block/block_int.h"
#include "io/channel-socket.h"
-/* #define DEBUG_NBD */
-
-#if defined(DEBUG_NBD)
-#define logout(fmt, ...) \
- fprintf(stderr, "nbd\t%-24s" fmt, __func__, ##__VA_ARGS__)
-#else
-#define logout(fmt, ...) ((void)0)
-#endif
-
#define MAX_NBD_REQUESTS 16
typedef struct {