pkarashchenko commented on code in PR #6836:
URL: https://github.com/apache/incubator-nuttx/pull/6836#discussion_r945304490


##########
drivers/wireless/ieee802154/xbee/xbee.c:
##########
@@ -264,7 +264,7 @@ static void xbee_attnworker(FAR void *arg)
                            */
 
                           iob->io_flink =
-                            iob_tryalloc(false, IOBUSER_WIRELESS_RAD802154);
+                            iob_tryalloc(false);

Review Comment:
   maybe this can be one line now



##########
drivers/wireless/ieee802154/xbee/xbee.c:
##########
@@ -1423,7 +1422,7 @@ void xbee_send_apiframe(FAR struct xbee_priv_s *priv,
                            */
 
                           iob->io_flink =
-                            iob_tryalloc(false, IOBUSER_WIRELESS_RAD802154);
+                            iob_tryalloc(false);

Review Comment:
   maybe can be a single line now



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to