diff options
author | 2024-08-22 21:39:04 +0800 | |
---|---|---|
committer | 2024-08-27 09:30:16 +0200 | |
commit | ede0b1d30b82829d6bc7924be18c7ae09cb1eb33 (patch) | |
tree | af52a809f33c35e7d2886f439435f4bbd99c6501 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ceph: Convert to use jiffies macro (diff) | |
download | wireguard-linux-ede0b1d30b82829d6bc7924be18c7ae09cb1eb33.tar.xz wireguard-linux-ede0b1d30b82829d6bc7924be18c7ae09cb1eb33.zip |
libceph: use min() to simplify code in ceph_dns_resolve_name()
When resolving name in ceph_dns_resolve_name(), the end address of name
is determined by the minimum value of delim_p and colon_p. So using min()
here is more in line with the context.
Signed-off-by: Li Zetao <lizetao1@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions