summaryrefslogtreecommitdiff
path: root/cesar/bsu/ntb/src/ntb.c
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/bsu/ntb/src/ntb.c')
-rw-r--r--cesar/bsu/ntb/src/ntb.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/cesar/bsu/ntb/src/ntb.c b/cesar/bsu/ntb/src/ntb.c
index d84cb85cc4..b61fe7f5d0 100644
--- a/cesar/bsu/ntb/src/ntb.c
+++ b/cesar/bsu/ntb/src/ntb.c
@@ -121,11 +121,7 @@ bsu_ntb_clock_configure (bsu_ntb_sync_t *ctx, mac_config_t *mac_config,
/* Set the current NTB offset in mac config. */
mac_config->ntb_offset_tck = ctx->ntb_offset_tck;
/* Compute the new numerator. */
- u32 numerator = BSU_NTB_FE_PPM (ctx->fe + 1.0) + 0.5;
- if (numerator != ctx->sta_numerator)
- {
- /* Update the numerator value in the PRATIC config ! */
- phy_clock_set_numerator (phy, numerator);
- ctx->sta_numerator = numerator;
- }
+ ctx->sta_numerator = BSU_NTB_FE_PPM (ctx->fe + 1.0) + 0.5;
+ /* Update the numerator value in the PRATIC config ! */
+ phy_clock_set_numerator (phy, ctx->sta_numerator);
}