Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4914ad4a authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] 32-bit compat: Delete unused sys_truncate64 and sys_ftruncate64.

parent e0eb7307
Loading
Loading
Loading
Loading
+0 −17
Original line number Diff line number Diff line
@@ -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.
 */