Re: [PATCH] sh: remove unused setup_profiling_timer function

John Paul Adrian Glaubitz <[email protected]>
Newsgroups org.kernel.vger.linux-sh,org.kernel.vger.linux-kernel
Message-ID <047975cb5fdeb0e3cb52cb78d55c3a45023cc992.camel@physik.fu-berlin.de>
Hi Anthony,

On Thu, 2026-08-20 at 14:39 +0200, Anthony Iliopoulos wrote:
> setup_profiling_timer() is not used by any code at this point. Since a
> default weak implementation exists, there is no need to keep this
> arch-specific definition around. Remove it along with the now-redundant
> profile header includes.

Do you have any clue why it was still implemented for LoongArch which is
a rather new architecture? I'm also seeing that it's not used anywhere,
I'm just wondering why it was not removed before and why it was even
included when LoongArch was added.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.