From: Jes Sorensen Date: Thu, 11 Aug 2016 19:52:02 +0000 (-0400) Subject: super1: Avoid if and return on the same line X-Git-Tag: mdadm-4.0~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7eef9be219d6ca1bf4329b6369b7cbf5d7922fc5;p=thirdparty%2Fmdadm.git super1: Avoid if and return on the same line Signed-off-by: Jes Sorensen --- diff --git a/super1.c b/super1.c index 879e0d5a..b7974031 100644 --- 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)