Commit 91eb7ec7 authored by Corey Minyard's avatar Corey Minyard
Browse files

ipmi:ssif: Remove unnecessary indention



A section was in {} that didn't need to be, move the variable
definition to the top and set th eindentino properly.

Signed-off-by: default avatarCorey Minyard <corey@minyard.net>
parent 93b5d21e
Loading
Loading
Loading
Loading
+12 −16
Original line number Diff line number Diff line
@@ -1658,6 +1658,7 @@ static int ssif_probe(struct i2c_client *client)
	int               len = 0;
	int               i;
	u8		  slave_addr = 0;
	unsigned int      thread_num;
	struct ssif_addr_info *addr_info = NULL;

	mutex_lock(&ssif_infos_mutex);
@@ -1876,11 +1877,7 @@ static int ssif_probe(struct i2c_client *client)
	ssif_info->handlers.request_events = request_events;
	ssif_info->handlers.set_need_watch = ssif_set_need_watch;

	{
		unsigned int thread_num;

		thread_num = ((i2c_adapter_id(ssif_info->client->adapter)
			       << 8) |
	thread_num = ((i2c_adapter_id(ssif_info->client->adapter) << 8) |
		      ssif_info->client->addr);
	init_completion(&ssif_info->wake_thread);
	ssif_info->thread = kthread_run(ipmi_ssif_thread, ssif_info,
@@ -1892,7 +1889,6 @@ static int ssif_probe(struct i2c_client *client)
			   rv);
		goto out;
	}
	}

	dev_set_drvdata(&ssif_info->client->dev, ssif_info);
	rv = device_add_group(&ssif_info->client->dev,