cmogstored dev/user discussion/issues/patches/etc
 help / color / mirror / code / Atom feed
* [PATCH] test/pwrite-wrap: remove unused variable and comment
@ 2016-02-01 10:23 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2016-02-01 10:23 UTC (permalink / raw)
  To: cmogstored-public

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)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-01 10:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-01 10:23 [PATCH] test/pwrite-wrap: remove unused variable and comment Eric Wong

Code repositories for project(s) associated with this public inbox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).