summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLeslie Monis <lesliemonis@gmail.com>2020-03-04 21:56:00 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-05 00:25:55 +0300
commit220d4ac74ed691033b6fe2bd98dc07d6bdece046 (patch)
tree5b2b9332cdda3d6b36ad7ea337cb8283e3794b36 /tools/perf/scripts/python/export-to-postgresql.py
parent90baeb9dd2656dd9fa0a66f338f22236be96e69f (diff)
downloadlinux-220d4ac74ed691033b6fe2bd98dc07d6bdece046.tar.xz
pie: remove unnecessary type casting
In function pie_calculate_probability(), the variables alpha and beta are of type u64. The variables qdelay, qdelay_old and params->target are of type psched_time_t (which is also u64). The explicit type casting done when calculating the value for the variable delta is redundant and not required. Signed-off-by: Mohit P. Tahiliani <tahiliani@nitk.edu.in> Signed-off-by: Gautam Ramakrishnan <gautamramk@gmail.com> Signed-off-by: Leslie Monis <lesliemonis@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions