[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200512061653.GA33732@tuxmaker.boeblingen.de.ibm.com>
Date: Tue, 12 May 2020 08:16:54 +0200
From: Sven Schnelle <svens@...ux.ibm.com>
To: Joe Perches <joe@...ches.com>
Cc: Christian Borntraeger <borntraeger@...ibm.com>,
Steven Rostedt <rostedt@...dmis.org>,
YueHaibing <yuehaibing@...wei.com>, mingo@...hat.com,
heiko.carstens@...ibm.com, gor@...ux.ibm.com,
linux-s390@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] s390: Remove two unused inline functions
Hi Joe,
On Mon, May 11, 2020 at 01:38:57PM -0700, Joe Perches wrote:
> Awhile back, I posted a list of apparently unused static inline
> functions in .h files treewide found by a script:
>
> https://lore.kernel.org/lkml/4603e761a5f39f4d97375e1e08d20d720c526341.camel@perches.com/
>
> Here are the s390 entries:
>
> arch/s390/include/asm/atomic_ops.h:138:static inline long __atomic64_cmpxchg_bool(long *ptr, long old, long new)
> arch/s390/include/asm/bitops.h:278:static inline void __set_bit_inv(unsigned long nr, volatile unsigned long *ptr)
> arch/s390/include/asm/bitops.h:283:static inline void __clear_bit_inv(unsigned long nr, volatile unsigned long *ptr)
> arch/s390/include/asm/cpu_mcf.h:106:static inline int kernel_cpumcf_begin(void)
> arch/s390/include/asm/cpu_mcf.h:114:static inline void kernel_cpumcf_end(void)
> arch/s390/include/asm/ftrace.h:64:static inline int is_ftrace_nop(struct ftrace_insn *insn)
> arch/s390/include/asm/kvm_para.h:146:static inline long kvm_hypercall5(unsigned long nr, unsigned long p1,
> arch/s390/include/asm/kvm_para.h:175:static inline long kvm_hypercall6(unsigned long nr, unsigned long p1,
> arch/s390/include/asm/pci_dma.h:134:static inline void invalidate_table_entry(unsigned long *entry)
> arch/s390/include/asm/pci_dma.h:176:static inline int entry_isprotected(unsigned long entry)
> arch/s390/include/asm/timex.h:52:static inline void store_clock_comparator(__u64 *time)
Thanks, i take a look and prepare a patch.
Regards
Sven
Powered by blists - more mailing lists