diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2014-12-01 11:49:29 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2014-12-01 11:49:29 +0100 |
commit | 2e835bc6b603d5890c0226e41b7ccffb7de90443 (patch) | |
tree | 396acbdfe1d13f029f953f6f13df2d0618106672 /plugins | |
parent | b73f399878cf7227401fcd8e204fad742a68ee66 (diff) | |
download | uca-2e835bc6b603d5890c0226e41b7ccffb7de90443.tar.gz uca-2e835bc6b603d5890c0226e41b7ccffb7de90443.tar.bz2 uca-2e835bc6b603d5890c0226e41b7ccffb7de90443.tar.xz uca-2e835bc6b603d5890c0226e41b7ccffb7de90443.zip |
xkit: remove unused timer
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/xkit/uca-xkit-camera.c | 4 |
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; } |