Delete unused semaphore.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2839 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2005-01-07 20:30:20 +00:00
1 parent f746f446f7
commit 2c5efab510
1 file changed
-2
-2
View File
@@ -239,7 +239,6 @@ enum sensor_type { fan, temp, vid, pll, lcd, alarm };
SMBus and not on the ISA bus. */
struct maxi_data {
struct i2c_client client;
struct semaphore lock;
int sysctl_id;
enum maxi_type type;
@@ -605,7 +604,6 @@ int maxi_detect(struct i2c_adapter *adapter, int address,
new_client->id = maxi_id++;
data->valid = 0;
init_MUTEX(&data->lock);
init_MUTEX(&data->update_lock);
/* Tell i2c-core that a new client has arrived */