Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: Corey Minyard <corey@minyard.net>

+12 -16
+12 -16
drivers/char/ipmi/ipmi_ssif.c
··· 1658 1658 int len = 0; 1659 1659 int i; 1660 1660 u8 slave_addr = 0; 1661 + unsigned int thread_num; 1661 1662 struct ssif_addr_info *addr_info = NULL; 1662 1663 1663 1664 mutex_lock(&ssif_infos_mutex); ··· 1877 1876 ssif_info->handlers.request_events = request_events; 1878 1877 ssif_info->handlers.set_need_watch = ssif_set_need_watch; 1879 1878 1880 - { 1881 - unsigned int thread_num; 1882 - 1883 - thread_num = ((i2c_adapter_id(ssif_info->client->adapter) 1884 - << 8) | 1885 - ssif_info->client->addr); 1886 - init_completion(&ssif_info->wake_thread); 1887 - ssif_info->thread = kthread_run(ipmi_ssif_thread, ssif_info, 1888 - "kssif%4.4x", thread_num); 1889 - if (IS_ERR(ssif_info->thread)) { 1890 - rv = PTR_ERR(ssif_info->thread); 1891 - dev_notice(&ssif_info->client->dev, 1892 - "Could not start kernel thread: error %d\n", 1893 - rv); 1894 - goto out; 1895 - } 1879 + thread_num = ((i2c_adapter_id(ssif_info->client->adapter) << 8) | 1880 + ssif_info->client->addr); 1881 + init_completion(&ssif_info->wake_thread); 1882 + ssif_info->thread = kthread_run(ipmi_ssif_thread, ssif_info, 1883 + "kssif%4.4x", thread_num); 1884 + if (IS_ERR(ssif_info->thread)) { 1885 + rv = PTR_ERR(ssif_info->thread); 1886 + dev_notice(&ssif_info->client->dev, 1887 + "Could not start kernel thread: error %d\n", 1888 + rv); 1889 + goto out; 1896 1890 } 1897 1891 1898 1892 dev_set_drvdata(&ssif_info->client->dev, ssif_info);