From: Markus Elfring <[email protected]>
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 <[email protected]>
---
 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

Reply via email to