Btrfs, scrub: uninitialized variable in scrub_extent_for_parity()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 12 Dec 2014 19:30:00 +0000 (22:30 +0300)
committerChris Mason <clm@fb.com>
Fri, 2 Jan 2015 19:47:55 +0000 (14:47 -0500)
commit6b6d24b38991f72fe974215c96e0fdfe409ea50e
tree131d969fab0dc9c1f1452bb853134c411d5cd87b
parent4e0c4a47d723c6bfdf24323cf539bd08edff7d31
Btrfs, scrub: uninitialized variable in scrub_extent_for_parity()

The only way that "ret" is set is when we call scrub_pages_for_parity()
so the skip to "if (ret) " test doesn't make sense and causes a static
checker warning.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/scrub.c