ceph: refactor readpage_nounlock() to make the logic clearer
authorZhang Zhen <zhenzhang.zhang@huawei.com>
Wed, 28 May 2014 07:09:55 +0000 (15:09 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Fri, 6 Jun 2014 01:29:56 +0000 (09:29 +0800)
If the return value of ceph_osdc_readpages() is not negative,
it is certainly greater than or equal to zero.

Remove the useless condition judgment and redundant braces.

Signed-off-by: Zhang Zhen <zhenzhang.zhang@huawei.com>
Reviewed-by: Yan, Zheng <zheng.z.yan@intel.com>

No differences found