Browse Source

misdn: indentation and braces disagree - add braces

This is not buggy due to plain luck as there is only one entry currently
in the element_attributes.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Karsten Keil <kkeil@suse.de>
Ilpo Järvinen 16 years ago
parent
commit
21c150a6d2
1 changed files with 2 additions and 1 deletions
  1. 2 1
      drivers/isdn/mISDN/dsp_pipeline.c

+ 2 - 1
drivers/isdn/mISDN/dsp_pipeline.c

@@ -110,7 +110,7 @@ int mISDN_dsp_element_register(struct mISDN_dsp_element *elem)
 	}
 	}
 	list_add_tail(&entry->list, &dsp_elements);
 	list_add_tail(&entry->list, &dsp_elements);
 
 
-	for (i = 0; i < ARRAY_SIZE(element_attributes); ++i)
+	for (i = 0; i < ARRAY_SIZE(element_attributes); ++i) {
 		ret = device_create_file(&entry->dev,
 		ret = device_create_file(&entry->dev,
 				&element_attributes[i]);
 				&element_attributes[i]);
 		if (ret) {
 		if (ret) {
@@ -118,6 +118,7 @@ int mISDN_dsp_element_register(struct mISDN_dsp_element *elem)
 				__func__);
 				__func__);
 			goto err2;
 			goto err2;
 		}
 		}
+	}
 
 
 #ifdef PIPELINE_DEBUG
 #ifdef PIPELINE_DEBUG
 	printk(KERN_DEBUG "%s: %s registered\n", __func__, elem->name);
 	printk(KERN_DEBUG "%s: %s registered\n", __func__, elem->name);