|
@@ -267,9 +267,6 @@ struct ssif_info {
|
|
|
unsigned char *i2c_data;
|
|
|
unsigned int i2c_size;
|
|
|
|
|
|
- /* From the device id response. */
|
|
|
- struct ipmi_device_id device_id;
|
|
|
-
|
|
|
struct timer_list retry_timer;
|
|
|
int retries_left;
|
|
|
|
|
@@ -1481,21 +1478,6 @@ static int ssif_probe(struct i2c_client *client, const struct i2c_device_id *id)
|
|
|
ipmi_addr_src_to_str(ssif_info->addr_source),
|
|
|
client->addr, client->adapter->name, slave_addr);
|
|
|
|
|
|
- /*
|
|
|
- * Do a Get Device ID command, since it comes back with some
|
|
|
- * useful info.
|
|
|
- */
|
|
|
- msg[0] = IPMI_NETFN_APP_REQUEST << 2;
|
|
|
- msg[1] = IPMI_GET_DEVICE_ID_CMD;
|
|
|
- rv = do_cmd(client, 2, msg, &len, resp);
|
|
|
- if (rv)
|
|
|
- goto out;
|
|
|
-
|
|
|
- rv = ipmi_demangle_device_id(resp[0] >> 2, resp[1],
|
|
|
- resp + 2, len - 2, &ssif_info->device_id);
|
|
|
- if (rv)
|
|
|
- goto out;
|
|
|
-
|
|
|
ssif_info->client = client;
|
|
|
i2c_set_clientdata(client, ssif_info);
|
|
|
|
|
@@ -1685,7 +1667,6 @@ static int ssif_probe(struct i2c_client *client, const struct i2c_device_id *id)
|
|
|
|
|
|
rv = ipmi_register_smi(&ssif_info->handlers,
|
|
|
ssif_info,
|
|
|
- &ssif_info->device_id,
|
|
|
&ssif_info->client->dev,
|
|
|
slave_addr);
|
|
|
if (rv) {
|