Commit ad101252 authored by Tristan Gingold's avatar Tristan Gingold

endpoint: remove unused function

parent cfe37715
Pipeline #5138 passed with stage
in 3 minutes and 43 seconds
......@@ -179,14 +179,6 @@ int ep_get_bitslide(struct wr_endpoint_device* dev)
(( ep_pcs_read(dev, EP_MDIO_WR_SPEC) & EP_MDIO_WR_SPEC_BSLIDE_MASK) >> EP_MDIO_WR_SPEC_BSLIDE_SHIFT);
}
/* Returns the TX/RX latencies. They are valid only when the link is up. */
int ep_get_deltas(struct wr_endpoint_device* dev, int *delta_tx, int *delta_rx)
{
/* fixme: RX/TX delays related to HW (except SFP) should be stored in
* calibration block in the EEPROM on the FMC. */
return 0;
}
int ep_timestamper_cal_pulse(struct wr_endpoint_device* dev)
{
ep_write(dev, EP_REG_TSCR, ep_read(dev, EP_REG_TSCR) | EP_TSCR_RX_CAL_START );
......
......@@ -46,7 +46,6 @@ int ep_is_mac_addr_set(struct wr_endpoint_device* dev);
int ep_enable(struct wr_endpoint_device* dev, int enabled, int autoneg);
int ep_link_up(struct wr_endpoint_device* dev, uint16_t * lpa);
int ep_get_bitslide(struct wr_endpoint_device* dev);
int ep_get_deltas(struct wr_endpoint_device *dev, int *delta_tx, int *delta_rx);
int ep_timestamper_cal_pulse(struct wr_endpoint_device* dev);
int ep_sfp_enable(struct wr_endpoint_device* dev, int ena);
......
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