From f66d2b4739eb9439280ac29dc6e4ef45802157f5 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 1 Feb 2016 10:23:23 +0000 Subject: test/pwrite-wrap: remove unused variable and comment They were blindly copied and s/search/replace/-ed from epoll-wrap.c --- test/pwrite-wrap.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/pwrite-wrap.c b/test/pwrite-wrap.c index b1c1e73..79148fa 100644 --- a/test/pwrite-wrap.c +++ b/test/pwrite-wrap.c @@ -20,11 +20,6 @@ static const char * const pwrite_wrap_names[] = { "none", "slow", "partial", "enospc" }; -#define EMIT(s) write(STDERR_FILENO, (s), sizeof(s)-1) - -/* test/pwrite_wrap.rb depends on the following line */ -static const char msg[] = "pwrite fault injection\n"; - int __real_pwrite(int fd, void *buf, size_t count, off_t offset); int __wrap_pwrite(int fd, void *buf, size_t count, off_t offset) -- cgit v1.2.3-24-ge0c7