Re: [PATCH] arch: remove unused macro/function thread_saved_pc()
From: Linus Torvalds
Date: Wed Jun 28 2017 - 19:15:07 EST
On Wed, Jun 28, 2017 at 6:30 AM, Tobias Klauser <tklauser@xxxxxxxxxx> wrote:
> The only user of thread_saved_pc() in non-arch-specific code was removed
> in commit 8243d5597793 ("sched/core: Remove pointless printout in
> sched_show_task()"). Remove the implementations as well.
>
> Some architectures use thread_saved_pc() in their arch-specific code.
> Leave their thread_saved_pc() intact.
Applied.
I do like applying patches that just remove lines of code. Sadly, it's
not very common.
Linus