anchao commented on a change in pull request #5434:
URL: https://github.com/apache/incubator-nuttx/pull/5434#discussion_r801257421
##########
File path: net/udp/udp_sendto_buffered.c
##########
@@ -394,10 +389,9 @@ static uint16_t sendto_eventhandler(FAR struct
net_driver_s *dev,
FAR void *pvconn, FAR void *pvpriv,
uint16_t flags)
{
- FAR struct udp_conn_s *conn = (FAR struct udp_conn_s *)pvconn;
- FAR struct socket *psock = (FAR struct socket *)pvpriv;
+ FAR struct udp_conn_s *conn = (FAR struct udp_conn_s *)pvpriv;
Review comment:
Thanks for reminding, There are too many places to use pvconn, I do not
want to add the same comment everywhere, I will plan to remove the pvconn
parameter on next patch,
--
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]