X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_tagsmarshall.c;h=d568208e91bd53ece6b685707ecca481c693c183;hp=bcd6f242dc256d999c2cc22ac6cd77fd3b1aa11f;hb=b19d3c9f0ada46534e44308f72d7e70ab1e301ee;hpb=5af18695480b470eea2a2447a1c5211073b9c59b diff --git a/yaffs_tagsmarshall.c b/yaffs_tagsmarshall.c index bcd6f24..d568208 100644 --- a/yaffs_tagsmarshall.c +++ b/yaffs_tagsmarshall.c @@ -172,10 +172,7 @@ static int yaffs_tags_marshall_query_block(struct yaffs_dev *dev, int block_no, "block query returns seq %d state %d", *seq_number, *state); - if (retval == 0) - return YAFFS_OK; - else - return YAFFS_FAIL; + return retval; } static int yaffs_tags_marshall_mark_bad(struct yaffs_dev *dev, int block_no)