super1: Avoid if and return on the same line
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 11 Aug 2016 19:52:02 +0000 (15:52 -0400)
committerJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 11 Aug 2016 19:52:02 +0000 (15:52 -0400)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
super1.c

index 879e0d5..b797403 100644 (file)
--- a/super1.c
+++ b/super1.c
@@ -1643,7 +1643,8 @@ static unsigned long choose_bm_space(unsigned long devsize)
         * NOTE: result must be multiple of 4K else bad things happen
         * on 4K-sector devices.
         */
-       if (devsize < 64*2) return 0;
+       if (devsize < 64*2)
+               return 0;
        if (devsize - 64*2 >= 200*1024*1024*2)
                return 128*2;
        if (devsize - 4*2 > 8*1024*1024*2)