This parameter was made obsolete by the common address refactoring. Signed-off-by: Jiri Benc <jb...@redhat.com> --- clock.c | 2 +- port.c | 2 +- port.h | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/clock.c b/clock.c index c541951dcc68..a85efdec2857 100644 --- a/clock.c +++ b/clock.c @@ -785,7 +785,7 @@ static void clock_forward_mgmt_msg(struct clock *c, struct port *p, struct ptp_m msg->management.boundaryHops--; msg_pre_send(msg); } - if (port_forward(fwd, msg, pdulen)) + if (port_forward(fwd, msg)) pr_err("port %d: management forward failed", i + 1); } } diff --git a/port.c b/port.c index e84067395f53..164de9b6898d 100644 --- a/port.c +++ b/port.c @@ -2163,7 +2163,7 @@ enum fsm_event port_event(struct port *p, int fd_index) return event; } -int port_forward(struct port *p, struct ptp_message *msg, int msglen) +int port_forward(struct port *p, struct ptp_message *msg) { int cnt; cnt = transport_send(p->trp, &p->fda, 0, msg); diff --git a/port.h b/port.h index 804e4631d00c..86a6f173bf98 100644 --- a/port.h +++ b/port.h @@ -87,10 +87,9 @@ enum fsm_event port_event(struct port *port, int fd_index); * Forward a message on a given port. * @param port A pointer previously obtained via port_open(). * @param msg The message to send. Must be in network byte order. - * @param msglen The length of the message in bytes. * @return Zero on success, non-zero otherwise. */ -int port_forward(struct port *p, struct ptp_message *msg, int msglen); +int port_forward(struct port *p, struct ptp_message *msg); /** * Prepare message for transmission and send it to a given port. Note that -- 1.7.6.5 ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel