diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2022-11-28 12:36:39 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-11-30 20:54:29 -0800 |
commit | 28e0c250f17ab3b6eb4dcee1a8208125bc77c61e (patch) | |
tree | f888563c3216e46a2eaf75ca5b99efe588399c1e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c1d8e3fb1a3bef6d1b24a9b1326e4ed11a1fbf0b (diff) |
devlink: use min_t to calculate data_size
The calculation for the data_size in the devlink_nl_read_snapshot_fill
function uses an if statement that is better expressed using the min_t
macro.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions