From 2c5efab5104c506f5cf464bfdbb741750a8a02d1 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Fri, 7 Jan 2005 20:30:20 +0000 Subject: [PATCH] Delete unused semaphore. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2839 7894878c-1315-0410-8ee3-d5d059ff63e0 --- kernel/chips/maxilife.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/chips/maxilife.c b/kernel/chips/maxilife.c index 72ef0130..cc0a9846 100644 --- a/kernel/chips/maxilife.c +++ b/kernel/chips/maxilife.c @@ -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 */