projects
/
archipelago
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dd43ea
)
bench: Remove dead code
author
Alex Pyrgiotis
<apyrgio@grnet.gr>
Mon, 3 Jun 2013 11:05:07 +0000
(14:05 +0300)
committer
Filippos Giannakos
<philipgian@grnet.gr>
Thu, 18 Jul 2013 10:02:48 +0000
(13:02 +0300)
xseg/peers/user/bench-xseg.c
patch
|
blob
|
history
diff --git
a/xseg/peers/user/bench-xseg.c
b/xseg/peers/user/bench-xseg.c
index
7278e74
..
5cf0cd6
100644
(file)
--- a/
xseg/peers/user/bench-xseg.c
+++ b/
xseg/peers/user/bench-xseg.c
@@
-327,17
+327,6
@@
int custom_peer_init(struct peerd *peer, int argc, char *argv[])
if (init_timer(&prefs->rec_tm, INSANITY_ECCENTRIC))
goto tm_fail;
- if (prefs->rec_tm->insanity <= GET_FLAG(INSANITY, prefs->flags)) {
- for (i = 0; i < peer->nr_ops; i++) {
- ts = malloc(sizeof(struct timespec));
- if (!ts) {
- XSEGLOG2(&lc, E, "Timespec allocation failed\n");
- goto tm_fail;
- }
- peer->peer_reqs[i].priv = ts;
- }
- }
-
/*************************************\
* Initialize the LFSR and global_id *
\*************************************/