super1: Avoid if and return on the same line

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
This commit is contained in:
Jes Sorensen 2016-08-11 15:52:02 -04:00
parent f1bbb5ff6d
commit 7eef9be219
1 changed files with 2 additions and 1 deletions

View File

@ -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)