From 2e835bc6b603d5890c0226e41b7ccffb7de90443 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Mon, 1 Dec 2014 11:49:29 +0100 Subject: xkit: remove unused timer --- plugins/xkit/uca-xkit-camera.c | 4 ---- 1 file changed, 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; } -- cgit v1.2.3