diff options
author | Colin Ian King <[email protected]> | 2017-10-18 13:10:38 +0100 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2017-10-29 18:36:03 -0700 |
commit | a3bdc5b5bd369fcab8306b80d2c740e332183d20 (patch) | |
tree | 226d4dfada68a4225b31248737e41f6b12b1c84b /tools/perf/util/trace-event-scripting.c | |
parent | 749d782d80de6db454af4336a4f4c8dfe79a5fc4 (diff) |
hwmon: (asc7621) remove redundant assignment to newval
The setting of newval to zero is redundant as the following if/else
stanzas will always update newval to a new value. Remove the
redundant setting, cleans up clang build warning:
drivers/hwmon/asc7621.c:582:2: warning: Value stored to 'newval' is
never read
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions