master/cdev.c
changeset 1434 4c6fe0ae37f1
parent 1426 af45bba80d85
child 1435 f1df39224f49
--- a/master/cdev.c	Mon May 04 10:05:02 2009 +0000
+++ b/master/cdev.c	Mon May 04 10:05:55 2009 +0000
@@ -1650,16 +1650,11 @@
         ec_cdev_priv_t *priv /**< Private data structure of file handle. */
         )
 {
-    ec_ioctl_dc_t data;
-    
 	if (unlikely(!priv->requested))
 		return -EPERM;
 
-    if (copy_from_user(&data, (void __user *) arg, sizeof(data)))
-        return -EFAULT;
-
     spin_lock_bh(&master->internal_lock);
-    ecrt_master_sync_reference_clock(master, data.app_time);
+    ecrt_master_sync_reference_clock(master);
     spin_unlock_bh(&master->internal_lock);
     return 0;
 }