]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] 32-bit compat: Delete unused sys_truncate64 and sys_ftruncate64.
authorRalf Baechle <ralf@linux-mips.org>
Sun, 20 Jul 2008 10:34:39 +0000 (11:34 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 20 Jul 2008 13:38:21 +0000 (14:38 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/linux32.c

index 65af3cc90abbfddef3d0591f526278dab9c925c3..c266211ed653d728c83e150215d8325be35f346f 100644 (file)
@@ -129,23 +129,6 @@ out:
        return error;
 }
 
-
-asmlinkage int sys_truncate64(const char __user *path, unsigned int high,
-                             unsigned int low)
-{
-       if ((int)high < 0)
-               return -EINVAL;
-       return sys_truncate(path, ((long) high << 32) | low);
-}
-
-asmlinkage int sys_ftruncate64(unsigned int fd, unsigned int high,
-                              unsigned int low)
-{
-       if ((int)high < 0)
-               return -EINVAL;
-       return sys_ftruncate(fd, ((long) high << 32) | low);
-}
-
 /*
  * sys_execve() executes a new program.
  */