Signed-off-by: Rafaël Carré <fun...@videolan.org>
---
 port.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/port.c b/port.c
index 86fca3b..e4e09ce 100644
--- a/port.c
+++ b/port.c
@@ -374,7 +374,7 @@ static int add_foreign_master(struct port *p, struct 
ptp_message *m)
        return broke_threshold || diff;
 }
 
-static int follow_up_info_append(struct port *p, struct ptp_message *m)
+static int follow_up_info_append(struct ptp_message *m)
 {
        struct follow_up_info_tlv *fui;
        struct tlv_extra *extra;
@@ -1449,7 +1449,7 @@ static int port_tx_sync(struct port *p, struct address 
*dst)
                fup->address = *dst;
                fup->header.flagField[0] |= UNICAST;
        }
-       if (p->follow_up_info && follow_up_info_append(p, fup)) {
+       if (p->follow_up_info && follow_up_info_append(fup)) {
                pr_err("port %hu: append fup info failed", portnum(p));
                err = -1;
                goto out;
-- 
2.17.1


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to