diff options
author | Michal Simek | 2017-01-23 12:53:36 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2017-01-25 11:41:44 +0100 |
commit | 3c84dc7e79f5bd676599a79a6bfed4d30a38ae30 (patch) | |
tree | 1967e3365cf01281a48e5bdbb57666d79776a409 /kernel/watchdog.c | |
parent | 36bebcff6f3895384fd2566f4c4adb91cfdfecdb (diff) |
char: xilinx_hwicap: Remove pointless local variables
Remove unused variables which generates these warnings:
[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.
Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/watchdog.c')
0 files changed, 0 insertions, 0 deletions