[PATCH 4/13] md/multipath: Reduce indentation for four lines in multipath_run()
From: SF Markus Elfring
Date: Sun Oct 02 2016 - 08:00:40 EST
From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 1 Oct 2016 21:26:00 +0200
* Delete a pair of extra curly brackets.
* Reduce indentation one level for a few lines in this function.
Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
---
drivers/md/multipath.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/md/multipath.c b/drivers/md/multipath.c
index be7c0b9..7900426 100644
--- a/drivers/md/multipath.c
+++ b/drivers/md/multipath.c
@@ -443,12 +443,9 @@ static int multipath_run (struct mddev *mddev)
if (!conf->pool)
goto out_free_conf;
- {
- mddev->thread = md_register_thread(multipathd, mddev,
- "multipath");
- if (!mddev->thread)
- goto out_free_conf;
- }
+ mddev->thread = md_register_thread(multipathd, mddev, "multipath");
+ if (!mddev->thread)
+ goto out_free_conf;
printk(KERN_INFO
"multipath: array %s active with %d out of %d IO paths\n",
--
2.10.0