diff options
| author | George Hu <integral@archlinux.org> | 2025-06-28 13:21:30 +0800 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-07-21 23:58:05 +0200 |
| commit | afd1dacbd0964c7d36a9057c39c168fe7fbb5196 (patch) | |
| tree | 36c84ed4384e14c6c56fba24fa13408af722dfd9 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 2fb5e56f524f7c0ca3ebda0069f8dd83b90876e5 (diff) | |
btrfs: replace nested usage of min & max with clamp in btrfs_compress_set_level()
Refactor the btrfs_compress_set_level() function by replacing the
nested usage of min() and max() macro with clamp() to simplify the
code and improve readability.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: George Hu <integral@archlinux.org>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
