Browse Source

riscv64: remove dead code left after riscv64 mpers removal

Since there is no compat on RISCV64 so far, its dead remains are only
confusing.

* linux/riscv64/arch_get_personality.c: Remove.
* Makefile.am (EXTRA_DIST): Remove it.

Reported-by: Elvira Khabirova <lineprinter0@gmail.com>
Suggested-by: Dmitry V. Levin <ldv@altlinux.org>
Complements: v5.3~18 "riscv64: remove mpers support"
Eugene Syromyatnikov 1 month ago
parent
commit
bcee3c693c
2 changed files with 0 additions and 14 deletions
  1. 0
    1
      Makefile.am
  2. 0
    13
      linux/riscv64/arch_get_personality.c

+ 0
- 1
Makefile.am View File

@@ -744,7 +744,6 @@ EXTRA_DIST =				\
744 744
 	linux/powerpc64le/userent.h	\
745 745
 	linux/ptrace_pokeuser.c		\
746 746
 	linux/raw_syscall.h		\
747
-	linux/riscv64/arch_get_personality.c \
748 747
 	linux/riscv64/arch_regs.c		\
749 748
 	linux/riscv64/get_error.c		\
750 749
 	linux/riscv64/get_scno.c		\

+ 0
- 13
linux/riscv64/arch_get_personality.c View File

@@ -1,13 +0,0 @@
1
-/*
2
- * Copyright (c) 2018 Dmitry V. Levin <ldv@altlinux.org>
3
- * Copyright (c) 2018-2019 The strace developers.
4
- * All rights reserved.
5
- *
6
- * SPDX-License-Identifier: LGPL-2.1-or-later
7
- */
8
-
9
-int
10
-get_personality_from_syscall_info(const struct ptrace_syscall_info *sci)
11
-{
12
-	return sci->arch == AUDIT_ARCH_RISCV32;
13
-}

Loading…
Cancel
Save