net/can: remove psock reference from can connect
remove the psock back reference since timestamp has been migrated to can_conn_s Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
369f7cc451
commit
98833affd0
@ -111,10 +111,6 @@ struct can_conn_s
|
||||
int32_t tx_deadline;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NET_TIMESTAMP
|
||||
FAR struct socket *psock; /* Needed to get SO_TIMESTAMP value */
|
||||
#endif
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -221,12 +221,6 @@ static int can_setup(FAR struct socket *psock, int protocol)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_NET_TIMESTAMP
|
||||
/* Store psock in conn se we can read the SO_TIMESTAMP value */
|
||||
|
||||
conn->psock = psock;
|
||||
#endif
|
||||
|
||||
/* Initialize the connection instance */
|
||||
|
||||
conn->protocol = (uint8_t)protocol;
|
||||
|
Loading…
Reference in New Issue
Block a user