diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2015-01-09 22:18:52 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-25 09:17:57 -0800 |
commit | 77ce247a8dbc587564dbfcb16fc6d09f6f85b31b (patch) | |
tree | 964120896252a110c17b0b92138d92c2a8203ebf /kernel/async.c | |
parent | 79af73079d753b2d04e46f7445716d3b5f914dbd (diff) |
Tools: hv: remove unused bytes_written from kvp_update_file()
fwrite() does not actually return the number of bytes written and
this value is being ignored anyway and ferror() is being called to
check for an error. As we assign to this variable and never use it
we get the following compile-time warning:
hv_kvp_daemon.c:149:9: warning: variable .bytes_written. set but not used [-Wunused-but-set-variable]
Remove bytes_written completely.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/async.c')
0 files changed, 0 insertions, 0 deletions