This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / media / dvb / dvb-core / dvb_functions.c
index 2a39b2e..4559f7c 100644 (file)
@@ -36,11 +36,7 @@ int dvb_usercopy(struct inode *inode, struct file *file,
         /*  Copy arguments into temp kernel buffer  */
         switch (_IOC_DIR(cmd)) {
         case _IOC_NONE:
-               /*
-                * For this command, the pointer is actually an integer
-                * argument.
-                */
-                parg = (void *) arg;
+                parg = NULL;
                 break;
         case _IOC_READ: /* some v4l ioctls are marked wrong ... */
         case _IOC_WRITE: