From: Andrew Klossner Date: Thu, 12 Mar 2009 12:36:39 +0000 (+0100) Subject: hwmon: (f75375s) Remove unnecessary and confusing initialization X-Git-Tag: v2.6.29-rc8~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51b3e2700177b89fdb0d985926ce777a7ad52b15;p=pandora-kernel.git 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 Signed-off-by: Jean Delvare --- Reading git-diff-tree failed