diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-06-08 12:25:39 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-10-23 18:06:55 -0400 |
commit | 9a938eba8d284fba0daff62142dece74ae3c16de (patch) | |
tree | 4f485f6158a62d4295e3bba70cc604bff9450a67 /fs/coredump.c | |
parent | 6a542d1d5f6c814fd3643b43e85b21757c1e363b (diff) | |
download | linux-9a938eba8d284fba0daff62142dece74ae3c16de.tar.gz linux-9a938eba8d284fba0daff62142dece74ae3c16de.tar.bz2 linux-9a938eba8d284fba0daff62142dece74ae3c16de.zip |
kill coredump_params->regs
it's always task_pt_regs(current)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/coredump.c')
-rw-r--r-- | fs/coredump.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/coredump.c b/fs/coredump.c index b4ec1bf889f9..1a474de1e52b 100644 --- a/fs/coredump.c +++ b/fs/coredump.c @@ -525,7 +525,6 @@ void do_coredump(const kernel_siginfo_t *siginfo) static atomic_t core_dump_count = ATOMIC_INIT(0); struct coredump_params cprm = { .siginfo = siginfo, - .regs = task_pt_regs(current), .limit = rlimit(RLIMIT_CORE), /* * We must use the same mm->flags while dumping core to avoid |