Commit 8c33f844 authored by Neil Brown's avatar Neil Brown Committed by Linus Torvalds

[PATCH] md: Get rid of un-necessary warning in md

parent 4d5ffe99
...@@ -1394,10 +1394,7 @@ static int do_md_run(mddev_t * mddev) ...@@ -1394,10 +1394,7 @@ static int do_md_run(mddev_t * mddev)
printk(TOO_SMALL_CHUNKSIZE, chunk_size, PAGE_SIZE); printk(TOO_SMALL_CHUNKSIZE, chunk_size, PAGE_SIZE);
return -EINVAL; return -EINVAL;
} }
} else }
if (chunk_size)
printk(KERN_INFO "md: RAID level %d does not need chunksize! Continuing anyway.\n",
mddev->level);
if (pnum >= MAX_PERSONALITY) { if (pnum >= MAX_PERSONALITY) {
MD_BUG(); MD_BUG();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment