lkml.org 
[lkml]   [2016]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 4/13] md/multipath: Reduce indentation for four lines in multipath_run()
    From
    Date
    From: Markus Elfring <elfring@users.sourceforge.net>
    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@users.sourceforge.net>
    ---
    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
    \
     
     \ /
      Last update: 2016-10-02 14:01    [W:4.136 / U:0.080 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site