summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2014-12-01 11:49:29 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2014-12-01 11:49:29 +0100
commit2e835bc6b603d5890c0226e41b7ccffb7de90443 (patch)
tree396acbdfe1d13f029f953f6f13df2d0618106672
parentb73f399878cf7227401fcd8e204fad742a68ee66 (diff)
downloaduca-2e835bc6b603d5890c0226e41b7ccffb7de90443.tar.gz
uca-2e835bc6b603d5890c0226e41b7ccffb7de90443.tar.bz2
uca-2e835bc6b603d5890c0226e41b7ccffb7de90443.tar.xz
uca-2e835bc6b603d5890c0226e41b7ccffb7de90443.zip
xkit: remove unused timer
-rw-r--r--plugins/xkit/uca-xkit-camera.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/xkit/uca-xkit-camera.c b/plugins/xkit/uca-xkit-camera.c
index a3c6f64..869a891 100644
--- a/plugins/xkit/uca-xkit-camera.c
+++ b/plugins/xkit/uca-xkit-camera.c
@@ -320,11 +320,8 @@ uca_xkit_camera_grab (UcaCamera *camera,
{
g_return_val_if_fail (UCA_IS_XKIT_CAMERA (camera), FALSE);
UcaXkitCameraPrivate *priv;
- GTimer *timer;
-
priv = UCA_XKIT_CAMERA_GET_PRIVATE (camera);
- timer = g_timer_new ();
#pragma omp parallel for num_threads(NUM_CHIPS)
for (guint i = 0; i < NUM_CHIPS; i++) {
@@ -342,7 +339,6 @@ uca_xkit_camera_grab (UcaCamera *camera,
}
compose_image ((guint16 *) data, priv->buffers, priv->flip, priv->n_chips);
- g_timer_destroy (timer);
return TRUE;
}