rbd: clean up, fix style
authorSage Weil <sage@newdream.net>
Wed, 7 Sep 2011 16:28:05 +0000 (09:28 -0700)
committerKevin Wolf <kwolf@redhat.com>
Mon, 12 Sep 2011 13:17:21 +0000 (15:17 +0200)
commitdfe80b071b6ef6c9c0b4e36191e2fe2d16050766
treebc4f013df1fd86dab3c2c9b66ead67ee4e31c373
parent7c7e9df0232a1ce5c411f0f348038d2e72097ae1
rbd: clean up, fix style

No assignment in condition.  Remove duplicate ret > 0 check.

Signed-off-by: Sage Weil <sage@newdream.net>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/rbd.c