diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2018-09-22 00:38:41 +0200 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2018-09-27 21:53:35 +0200 |
commit | 24b8f79dd8e036da618d158b4c0295208d478c5c (patch) | |
tree | fba03330a5bceb32733973c60df4fa543cc4a6fd /arch/arm64/kernel/debug-monitors.c | |
parent | 6fa998e83ef9bcc479b0fa088de262a73e139bf8 (diff) | |
download | linux-stable-24b8f79dd8e036da618d158b4c0295208d478c5c.tar.gz linux-stable-24b8f79dd8e036da618d158b4c0295208d478c5c.tar.bz2 linux-stable-24b8f79dd8e036da618d158b4c0295208d478c5c.zip |
signal/arm64: Remove unneeded tsk parameter from arm64_force_sig_info
Every caller passes in current for tsk so there is no need to pass
tsk. Instead make tsk a local variable initialized to current.
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'arch/arm64/kernel/debug-monitors.c')
-rw-r--r-- | arch/arm64/kernel/debug-monitors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/debug-monitors.c b/arch/arm64/kernel/debug-monitors.c index 06ca574495af..e0d9502be5bf 100644 --- a/arch/arm64/kernel/debug-monitors.c +++ b/arch/arm64/kernel/debug-monitors.c @@ -224,7 +224,7 @@ static void send_user_sigtrap(int si_code) if (interrupts_enabled(regs)) local_irq_enable(); - arm64_force_sig_info(&info, "User debug trap", current); + arm64_force_sig_info(&info, "User debug trap"); } static int single_step_handler(unsigned long addr, unsigned int esr, |