Commit c6cc4f72 authored by Lukas Bulwahn's avatar Lukas Bulwahn Committed by Linus Torvalds
Browse files

alpha: remove the needless aliases osf_{readv,writev}

Commit 987f20a9 ("a.out: Remove the a.out implementation") removes
CONFIG_OSF4_COMPAT and its functionality. Hence, sys_osf_{readv,writev}
are now just aliases of sys_{readv,writev}.

Remove these needless aliases.

[ Identical patch also posted by Jason A. Donenfeld ]

Link: https://lore.kernel.org/lkml/CAHk-=wjwvBc3VQMNtUVUrMBVoMPSPu26OuatZ_+1gZ2m-PmmRA@mail.gmail.com/
Link: https://lore.kernel.org/all/20221004135301.1420873-1-Jason@zx2c4.com/


Suggested-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarLukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ae5b6779
Loading
Loading
Loading
Loading
+0 −12
Original line number Original line Diff line number Diff line
@@ -1278,18 +1278,6 @@ arch_get_unmapped_area(struct file *filp, unsigned long addr,
	return addr;
	return addr;
}
}


SYSCALL_DEFINE3(osf_readv, unsigned long, fd,
		const struct iovec __user *, vector, unsigned long, count)
{
	return sys_readv(fd, vector, count);
}

SYSCALL_DEFINE3(osf_writev, unsigned long, fd,
		const struct iovec __user *, vector, unsigned long, count)
{
	return sys_writev(fd, vector, count);
}

SYSCALL_DEFINE2(osf_getpriority, int, which, int, who)
SYSCALL_DEFINE2(osf_getpriority, int, which, int, who)
{
{
	int prio = sys_getpriority(which, who);
	int prio = sys_getpriority(which, who);
+2 −2
Original line number Original line Diff line number Diff line
@@ -125,8 +125,8 @@
116	common	osf_gettimeofday		sys_osf_gettimeofday
116	common	osf_gettimeofday		sys_osf_gettimeofday
117	common	osf_getrusage			sys_osf_getrusage
117	common	osf_getrusage			sys_osf_getrusage
118	common	getsockopt			sys_getsockopt
118	common	getsockopt			sys_getsockopt
120	common	readv				sys_osf_readv
120	common	readv				sys_readv
121	common	writev				sys_osf_writev
121	common	writev				sys_writev
122	common	osf_settimeofday		sys_osf_settimeofday
122	common	osf_settimeofday		sys_osf_settimeofday
123	common	fchown				sys_fchown
123	common	fchown				sys_fchown
124	common	fchmod				sys_fchmod
124	common	fchmod				sys_fchmod