linux-4.10-rc5/drivers/char/xilinx_hwicap/buffer_icap.c: 2 * pointless local variables ?
michal.simek at xilinx.com
Mon Jan 23 03:54:11 PST 2017
On 23.1.2017 12:39, David Binderman wrote:
> Hello there,
> [linux-4.10-rc5/drivers/char/xilinx_hwicap/buffer_icap.c:301]: (style) Variable 'num_writes' is modified but its new value is never used.
> [linux-4.10-rc5/drivers/char/xilinx_hwicap/buffer_icap.c:356]: (style) Variable 'read_count' is modified but its new value is never used.
> Suggest either use these local variables in some way or delete them.
I have sent patch which removes them.
More information about the linux-arm-kernel