btrfs-progs: prop: remove conditions which never be satisfied
authorSatoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Mon, 9 May 2016 07:52:11 +0000 (16:52 +0900)
committerDavid Sterba <dsterba@suse.com>
Wed, 11 May 2016 14:43:42 +0000 (16:43 +0200)
commit640391b2997dced1af3d189759fdd2939c558546
treed2cb4c96205fdbf1fb90b36f5e7753e1cca04b8b
parentad474ff50cdde156135f88b059e1a9b05ae3f239
btrfs-progs: prop: remove conditions which never be satisfied

parse_args() always set at least one parameter, 'object', for
{get,list} subcommands. In addition, it always set all three
parameters, 'object', 'name', and 'value' for set subcommand.
So the following conditions can be removed.

Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-property.c