Commit 8f25cb18 authored by Alessandro Rubini's avatar Alessandro Rubini Committed by Adam Wujek

trivial: remove redundant assignment

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent d1ecc9a1
...@@ -396,13 +396,7 @@ int __send_and_log(struct pp_instance *ppi, int msglen, ...@@ -396,13 +396,7 @@ int __send_and_log(struct pp_instance *ppi, int msglen,
int msgtype, int chtype) int msgtype, int chtype)
{ {
int pdelay_addr = 0; int pdelay_addr = 0;
uint8_t *ptr = ppi->tx_ptp;
/*
* We're not a transparent clock, just set our domain number in all
* outgoing frames
*/
ptr[4] = GDSDEF(GLBS(ppi))->domainNumber;
if (msgtype == PPM_PDELAY_REQ || msgtype == PPM_PDELAY_RESP) if (msgtype == PPM_PDELAY_REQ || msgtype == PPM_PDELAY_RESP)
pdelay_addr = 1; pdelay_addr = 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