Skip to content

Commit 612472e

Browse files
authored
Merge pull request ceph#62372 from tchaikov/libcephfs-proxy-compare-unsigned
libcephfs_proxy: remove redundant unsigned >= 0 comparison Reviewed-by: Xavi Hernandez <[email protected]> Reviewed-by: Sachin Punadikar <[email protected]>
2 parents 0c6ab96 + 49cc45a commit 612472e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcephfs_proxy/proxy_async.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ static int32_t libcephfsd_cbk_nonblocking_rw(proxy_async_t *async,
2626

2727
info->result = cbk->ll_nonblocking_rw.res;
2828

29-
if ((size >= 0) && !info->write) {
29+
if (!info->write) {
3030
iov = info->iov;
3131
count = info->iovcnt;
3232
while (size > 0) {

0 commit comments

Comments
 (0)