From: Vitaly Kuznetsov Date: Sat, 10 Jan 2015 06:18:52 +0000 (-0800) Subject: Tools: hv: remove unused bytes_written from kvp_update_file() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~85^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77ce247a8dbc587564dbfcb16fc6d09f6f85b31b;p=pandora-kernel.git 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 Signed-off-by: K. Y. Srinivasan Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed