diff options
author | Arthur Kiyanovski <[email protected]> | 2020-05-22 12:08:56 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-05-22 14:12:48 -0700 |
commit | da447b3b542f2d89e368c8991203ae6aa025ddeb (patch) | |
tree | cf92b3d352ae1809742b7f6b88c8491eea9f2787 /tools/perf/scripts/python | |
parent | adb3fb388933e03c61e941bce4a0dac4a6ae98c0 (diff) |
net: ena: simplify ena_com_update_intr_delay_resolution()
Initialize prev_intr_delay_resolution with ena_dev->intr_delay_resolution
unconditionally, since it is initialized with
ENA_DEFAULT_INTR_DELAY_RESOLUTION in ena_probe(). This approach makes much
more sense than handling errors of not initializing it.
Also added unlikely to if condition.
Signed-off-by: Arthur Kiyanovski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions