summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorArthur Kiyanovski <akiyano@amazon.com>2020-05-22 12:08:56 +0300
committerDavid S. Miller <davem@davemloft.net>2020-05-23 00:12:48 +0300
commitda447b3b542f2d89e368c8991203ae6aa025ddeb (patch)
treecf92b3d352ae1809742b7f6b88c8491eea9f2787 /tools/perf/scripts/python/exported-sql-viewer.py
parentadb3fb388933e03c61e941bce4a0dac4a6ae98c0 (diff)
downloadlinux-da447b3b542f2d89e368c8991203ae6aa025ddeb.tar.xz
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 <akiyano@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions