<div dir="ltr">count is unsigned int and will always be >=0. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 28, 2020 at 10:42 PM suyash singh <<a href="mailto:suyashsingh234@gmail.com">suyashsingh234@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">---<br>
bsps/shared/grlib/1553/b1553brm.c | 6 ++----<br>
1 file changed, 2 insertions(+), 4 deletions(-)<br>
<br>
diff --git a/bsps/shared/grlib/1553/b1553brm.c b/bsps/shared/grlib/1553/b1553brm.c<br>
index 57ef70126b..4041423541 100644<br>
--- a/bsps/shared/grlib/1553/b1553brm.c<br>
+++ b/bsps/shared/grlib/1553/b1553brm.c<br>
@@ -982,10 +982,8 @@ static rtems_device_driver brm_write(rtems_device_major_number major, rtems_devi<br>
<br>
rw_args->bytes_moved = count; <br>
<br>
- if (count >= 0) {<br>
- return RTEMS_SUCCESSFUL;<br>
- }<br>
- return RTEMS_UNSATISFIED;<br>
+ return RTEMS_SUCCESSFUL;<br>
+<br>
}<br>
<br>
static rtems_device_driver brm_control(rtems_device_major_number major, rtems_device_minor_number minor, void *arg)<br>
-- <br>
2.17.1<br>
<br>
</blockquote></div>