Ouss4 commented on a change in pull request #2627:
URL: https://github.com/apache/incubator-nuttx/pull/2627#discussion_r550300785



##########
File path: drivers/sensors/adxl372.c
##########
@@ -716,10 +720,12 @@ static void adxl372_dvr_exchange(FAR void 
*instance_handle,
                                  FAR const void *txbuffer,
                                  FAR void *rxbuffer, size_t nwords)
 {
-  FAR struct adxl372_dev_s *priv = (FAR struct adxl372_dev_s *)instance_handle;
+  FAR struct adxl372_dev_s *priv = instance_handle;

Review comment:
       Why is the implicit cast removed here?




----------------------------------------------------------------
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.

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


Reply via email to