Thread (2 messages) 2 messages, 2 authors, 2023-08-23

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

From: Michael Ellerman <hidden>
Date: 2023-08-23 12:04:38
Also in: lkml

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 to
'server' is never read [deadcode.DeadStores]
server = be16_to_cpu(oserver);

[...]
Applied to powerpc/next.

[1/1] arch/powerpc: Remove unnecessary endian conversion code in XICS
      https://git.kernel.org/powerpc/c/984b07b428994d9e83c6de9a5f1307948188fe71

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help