block: rbd: removing unnecessary test
authorYehuda Sadeh <yehuda@hq.newdream.net>
Mon, 27 Sep 2010 17:51:53 +0000 (10:51 -0700)
committerSage Weil <sage@newdream.net>
Wed, 20 Oct 2010 22:38:20 +0000 (15:38 -0700)
commitf4cf3deef4c474381e8fee2e6099d49edd9105cb
treefbf21efa48b062e3a4af9a91c564f05e2b63090c
parent28f259b7cd78eb29d38b7ae6b475d656e08fd348
block: rbd: removing unnecessary test

rbd_get_segment() can't return a negative value, we don't need to check
the return output.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
drivers/block/rbd.c