commit | c7b256f998f6d00d4548090aa16fb34e005828c1 | [log] [tgz] |
---|---|---|
author | Edward Cree <ecree@solarflare.com> | Wed Aug 17 16:00:10 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 18 23:28:22 2016 -0700 |
tree | 88cf8546394cdd83551388bdc376b5c875510cbc | |
parent | dca0aaf8472f15836a68bbed8a0ef9ea39e783aa [diff] |
sfc: avoid division by zero The division is already being done properly in efx_ef10_get_timer_config which returns zero-on-success, unlike the old efx_ef10_get_sysclk_freq. Fixes: d95e329a55ba ("sfc: get timer configuration from adapter") Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>