aboutsummaryrefslogtreecommitdiffstats
path: root/tools/blktap2/include
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-06-08 08:04:09 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-06-08 08:04:09 +0100
commit08a07a95dd601b4fe686e4e2d8ef41930652d2bb (patch)
tree2aa789abd953a10ee3a5681ff57c7e802bd66c28 /tools/blktap2/include
parent7b4dea5546ccfc984b33ab0e184bc054c02bd9f2 (diff)
downloadxen-08a07a95dd601b4fe686e4e2d8ef41930652d2bb.tar.gz
xen-08a07a95dd601b4fe686e4e2d8ef41930652d2bb.tar.bz2
xen-08a07a95dd601b4fe686e4e2d8ef41930652d2bb.zip
blktap2: Fix E/DPRINTF defs all around the driver/ subdir.
This is just to avoid macro madness among subdirs sharing blktaplib.h. Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com> Signed-off-by: Jake Wires <jake.wires@citrix.com>
Diffstat (limited to 'tools/blktap2/include')
-rw-r--r--tools/blktap2/include/blktaplib.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/blktap2/include/blktaplib.h b/tools/blktap2/include/blktaplib.h
index d91a29b25f..afd1037352 100644
--- a/tools/blktap2/include/blktaplib.h
+++ b/tools/blktap2/include/blktaplib.h
@@ -36,15 +36,6 @@
#include <xenctrl.h>
#include <xen/io/blkif.h>
-#if 1
-#define DPRINTF(_f, _a...) syslog(LOG_INFO, _f, ##_a)
-#else
-#define DPRINTF(_f, _a...) ((void)0)
-#endif
-
-#define EPRINTF(_f, _a...) syslog(LOG_ERR, "tap-err:%s: " _f, __func__, ##_a)
-#define PERROR(_f, _a...) EPRINTF(_f ": %s", ##_a, strerror(errno))
-
#define BLK_RING_SIZE __CONST_RING_SIZE(blkif, XC_PAGE_SIZE)
/* size of the extra VMA area to map in attached pages. */