Optimize clock call

Change-Id: Ia4492458376a5dd8c3d0acd0539c4d608f260d00
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>