Re: [PATCH v2] arch/powerpc: Remove unnecessary endian conversion code in XICS

2023-08-23 Thread Michael Ellerman
On Mon, 31 Jul 2023 17:25:39 +0530, Gautam Menghani wrote: > Remove an unnecessary piece of code that does an endianness conversion but > does not use the result. The following warning was reported by Clang's > static analyzer: > > arch/powerpc/sysdev/xics/ics-opal.c:114:2: warning: Value stored t

[PATCH v2] arch/powerpc: Remove unnecessary endian conversion code in XICS

2023-07-31 Thread Gautam Menghani
Remove an unnecessary piece of code that does an endianness conversion but does not use the result. The following warning was reported by Clang's static analyzer: arch/powerpc/sysdev/xics/ics-opal.c:114:2: warning: Value stored to 'server' is never read [deadcode.DeadStores] server = be16_to_cpu(o