linux-4.10-rc5/drivers/char/xilinx_hwicap/buffer_icap.c: 2 * pointless local variables ?

David Binderman dcb314 at hotmail.com
Mon Jan 23 03:39:35 PST 2017


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.

Regards

David Binderman



More information about the linux-arm-kernel mailing list