mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-21 19:51:45 +00:00
Init cleanups (unused vars and functions, and more).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2123 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
e5483ca3b6
commit
c1e28f8896
4 files changed
+14
-41
No files matched your search
+1
-7
@@ -114,7 +114,6 @@ static const u8 LM83_REG_W_HIGH[] = {
|
||||
static int lm83_attach_adapter(struct i2c_adapter *adapter);
|
||||
static int lm83_detect(struct i2c_adapter *adapter, int address, unsigned
|
||||
short flags, int kind);
|
||||
static void lm83_init_client(struct i2c_client *client);
|
||||
static int lm83_detach_client(struct i2c_client *client);
|
||||
static void lm83_update_client(struct i2c_client *client);
|
||||
static void lm83_temp(struct i2c_client *client, int operation, int
|
||||
@@ -361,9 +360,9 @@ static int lm83_detect(struct i2c_adapter *adapter, int address, unsigned
|
||||
|
||||
/*
|
||||
* Initialize the LM83 chip
|
||||
* (Nothing to do for this one.)
|
||||
*/
|
||||
|
||||
lm83_init_client(new_client);
|
||||
return 0;
|
||||
|
||||
ERROR2:
|
||||
@@ -373,11 +372,6 @@ static int lm83_detect(struct i2c_adapter *adapter, int address, unsigned
|
||||
return err;
|
||||
}
|
||||
|
||||
static void lm83_init_client(struct i2c_client *client)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
static int lm83_detach_client(struct i2c_client *client)
|
||||
{
|
||||
int err;
|
||||
|
||||
Reference in new issue
Block a user