Commit 2e9affcf authored by Alessandro Rubini's avatar Alessandro Rubini

trivial: fix a warning for no-more-used variable

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent a4492d5b
......@@ -106,8 +106,6 @@ static void st_com_add_foreign(struct pp_instance *ppi, unsigned char *buf)
int st_com_slave_handle_announce(struct pp_instance *ppi, unsigned char *buf,
int len)
{
MsgHeader *hdr = &ppi->received_ptp_header;
if (len < PP_ANNOUNCE_LENGTH)
return -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment