btrfs-progs: remove unnecessary return value check in btrfs-property
authorGui Hecheng <guihc.fnst@cn.fujitsu.com>
Thu, 31 Jul 2014 03:23:43 +0000 (11:23 +0800)
committerDavid Sterba <dsterba@suse.cz>
Fri, 22 Aug 2014 13:07:03 +0000 (15:07 +0200)
commit508e9ac82732612138ffc79229d5dc76c2200f91
treea6a0235aabb4ae71954ebc7b84f0b671232054f3
parentd3aa724646a68f814a70f149def9c563fdf252de
btrfs-progs: remove unnecessary return value check in btrfs-property

The function @parse_prop() returns either -1 or 0, no need to check
for other values. Just return the unnecessary check.

Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
cmds-property.c