pkarashchenko commented on a change in pull request #5797:
URL: https://github.com/apache/incubator-nuttx/pull/5797#discussion_r830457578



##########
File path: fs/rpmsgfs/rpmsgfs_client.c
##########
@@ -453,12 +453,8 @@ off_t rpmsgfs_client_lseek(FAR void *handle, int fd,
     .whence = whence,
   };
 
-  int ret;
-
-  ret = rpmsgfs_send_recv(handle, RPMSGFS_LSEEK, true,
-          (struct rpmsgfs_header_s *)&msg, sizeof(msg), NULL);
-
-  return ret < 0 ? ret : ret;
+  return rpmsgfs_send_recv(handle, RPMSGFS_LSEEK, true,
+           (struct rpmsgfs_header_s *)&msg, sizeof(msg), NULL);

Review comment:
       Thank you




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to