Thread (5 messages) flat view 5 messages, 3 authors, 2020-07-09

Re: [PATCH 3/3] misc: cxl: flash: Remove unused variable 'drc_index'

From: Andrew Donnellan <hidden>
Date: 2020-07-08 13:18:05
Also in: lkml

On 8/7/20 10:57 pm, Lee Jones wrote:
Keeping the pointer increment though.

Fixes the following W=1 kernel build warning:

  drivers/misc/cxl/flash.c: In function ‘update_devicetree’:
  drivers/misc/cxl/flash.c:178:16: warning: variable ‘drc_index’ set but not used [-Wunused-but-set-variable]
  178 | __be32 *data, drc_index, phandle;
  | ^~~~~~~~~

Cc: Frederic Barrat <redacted>
Cc: Andrew Donnellan <redacted>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Lee Jones <redacted>
Acked-by: Andrew Donnellan <redacted>

-- 
Andrew Donnellan              OzLabs, ADL Canberra
ajd@linux.ibm.com             IBM Australia Limited
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help