diff options
author | Jean Delvare <khali@linux-fr.org> | 2011-01-12 21:55:09 +0100 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2011-01-12 21:55:09 +0100 |
commit | 014bcd28a04ec085940ea3125f5ea91b16a1945d (patch) | |
tree | e193fea269d089bc05953d3c3ae79f49ffe31b4c /lib/locking-selftest.c | |
parent | 5d84291da3a594ac391c85296e28f41ff92da0cf (diff) |
hwmon: (w83795) Silent false warning from gcc
The code triggers a false warning with older versions of gcc:
w83795.c: In function 'w83795_update_device':
w83795.c:475: warning: 'lsb' may be used uninitialized in this function
I admit that the code is a little tricky, but I see no way to write it
differently without hurting performance. So let's just silent the
warning with a needless initialization.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'lib/locking-selftest.c')
0 files changed, 0 insertions, 0 deletions