summaryrefslogtreecommitdiffstats
path: root/lib/lmb.c
diff options
context:
space:
mode:
authorAndrew Klossner <andrew@cesa.opbu.xerox.com>2009-03-12 13:36:39 +0100
committerJean Delvare <khali@linux-fr.org>2009-03-12 13:36:39 +0100
commit51b3e2700177b89fdb0d985926ce777a7ad52b15 (patch)
treefd616c0db5df31f27d435196a575ec93e2fa5eba /lib/lmb.c
parenthwmon: (it87) Properly decode -128 degrees C temperature (diff)
downloadlinux-51b3e2700177b89fdb0d985926ce777a7ad52b15.tar.xz
linux-51b3e2700177b89fdb0d985926ce777a7ad52b15.zip
hwmon: (f75375s) Remove unnecessary and confusing initialization
f75375_probe calls i2c_get_clientdata to initialize the data pointer, but there isn't yet any client data to get, and the value is never used before the variable is assigned a new value seven lines later. The call doesn't hurt anything and wastes only a couple of cycles. The reason to fix it is because this module serves as an example to hackers writing new hwmon drivers, and this part of the example is confusing. Signed-off-by: Andrew Klossner <andrew@cesa.opbu.xerox.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'lib/lmb.c')
0 files changed, 0 insertions, 0 deletions