From: Zhang Zhen Date: Wed, 28 May 2014 07:09:55 +0000 (+0800) Subject: ceph: refactor readpage_nounlock() to make the logic clearer X-Git-Tag: omap-for-v3.16/fixes-against-rc1~24^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23cd573b46c1f90645023ca2989bc041a0fcf38c;p=pandora-kernel.git ceph: refactor readpage_nounlock() to make the logic clearer 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 Reviewed-by: Yan, Zheng --- Reading git-diff-tree failed