platsupport,hpet: Remove float division operation The .0f extension should be redundant if the result is being stored in an int type.
diff --git a/libplatsupport/src/plat/pc99/hpet.c b/libplatsupport/src/plat/pc99/hpet.c index e6437ca..0fa7a53 100644 --- a/libplatsupport/src/plat/pc99/hpet.c +++ b/libplatsupport/src/plat/pc99/hpet.c
@@ -263,7 +263,7 @@ /* read the period of the timer (its in femptoseconds) and calculate no of ticks per ns */ uint32_t tick_period_fs = (uint32_t) (*hpet_get_cap_id(hpet->base_addr) >> 32llu); - hpet->period_ns = tick_period_fs / 1000000.0f; + hpet->period_ns = tick_period_fs / 1000000; return 0; }