mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
[MIPS] 32-bit compat: Delete unused sys_truncate64 and sys_ftruncate64.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
e0eb730757
commit
4914ad4a9f
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user