summaryrefslogtreecommitdiffstats
path: root/paste.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-11-03 17:17:24 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-11-03 17:17:24 +0000
commitc95f1d1ff951fdfea9057952ecadb25884ba8daa (patch)
tree0060f95405cf4a918dc30d79e3b1421236bde6cb /paste.c
parent01943062b4f669309d75c9dccf373a798f73751f (diff)
tv member of struct paste_buffer is updated but not otherwise used, so remove
it.
Diffstat (limited to 'paste.c')
-rw-r--r--paste.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/paste.c b/paste.c
index 582645d5..142e46cf 100644
--- a/paste.c
+++ b/paste.c
@@ -116,8 +116,6 @@ paste_add(struct paste_stack *ps, u_char *data, size_t size, u_int limit)
pb->data = data;
pb->size = size;
- if (gettimeofday(&pb->tv, NULL) != 0)
- fatal("gettimeofday failed");
}
int
@@ -133,8 +131,6 @@ paste_replace(struct paste_stack *ps, u_int idx, u_char *data, size_t size)
pb->data = data;
pb->size = size;
- if (gettimeofday(&pb->tv, NULL) != 0)
- fatal("gettimeofday failed");
return (0);
}