aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_operations.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-07-29 21:32:40 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-07-29 21:32:40 +0000
commit05f1e97c640e63ad39887ec698fdf8f905cbf316 (patch)
treec0aba3df4d9fa89be8edca18f0453d365fb1574d /src/testbed/testbed_api_operations.c
parent12f69de19d27c2f962e4c0fe8480591e0e0ac6cf (diff)
downloadgnunet-05f1e97c640e63ad39887ec698fdf8f905cbf316.tar.gz
gnunet-05f1e97c640e63ad39887ec698fdf8f905cbf316.zip
removed redundant cls(data)
Diffstat (limited to 'src/testbed/testbed_api_operations.c')
-rw-r--r--src/testbed/testbed_api_operations.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/testbed/testbed_api_operations.c b/src/testbed/testbed_api_operations.c
index 1692171e3..72cb8465e 100644
--- a/src/testbed/testbed_api_operations.c
+++ b/src/testbed/testbed_api_operations.c
@@ -116,11 +116,6 @@ struct GNUNET_TESTBED_Operation
116 struct OperationQueue **queues; 116 struct OperationQueue **queues;
117 117
118 /** 118 /**
119 * Pointer to operation's data
120 */
121 void *data;
122
123 /**
124 * The Operation ID 119 * The Operation ID
125 */ 120 */
126 uint64_t id; 121 uint64_t id;
@@ -199,15 +194,13 @@ check_readiness (struct GNUNET_TESTBED_Operation *op)
199 * @param start function to call to start the operation 194 * @param start function to call to start the operation
200 * @param release function to call to close down the operation 195 * @param release function to call to close down the operation
201 * @param type the type of the operation 196 * @param type the type of the operation
202 * @param data operation's relavant data
203 * @return handle to the operation 197 * @return handle to the operation
204 */ 198 */
205struct GNUNET_TESTBED_Operation * 199struct GNUNET_TESTBED_Operation *
206GNUNET_TESTBED_operation_create_ (void *cls, 200GNUNET_TESTBED_operation_create_ (void *cls,
207 OperationStart start, 201 OperationStart start,
208 OperationRelease release, 202 OperationRelease release,
209 enum OperationType type, 203 enum OperationType type)
210 void *data)
211{ 204{
212 struct GNUNET_TESTBED_Operation *op; 205 struct GNUNET_TESTBED_Operation *op;
213 206
@@ -216,7 +209,6 @@ GNUNET_TESTBED_operation_create_ (void *cls,
216 op->release = release; 209 op->release = release;
217 op->cb_cls = cls; 210 op->cb_cls = cls;
218 op->type = type; 211 op->type = type;
219 op->data = data;
220 return op; 212 return op;
221} 213}
222 214