mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-02 13:30:30 +00:00
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:
1 parent
f746f446f7
commit
2c5efab510
1 file changed
-2
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user