diff options
author | Yaniv Kaul <ykaul@redhat.com> | 2019-12-09 23:17:16 +0200 |
---|---|---|
committer | Amar Tumballi <amarts@gmail.com> | 2020-01-14 17:12:57 +0000 |
commit | d5fef2a50cf4e3458e800d59021a97c0b5fc39db (patch) | |
tree | 5d2c6d4588acf2c70067184fab1514bde686a05e /xlators/protocol | |
parent | 9969d1dc2a3e815b161ce8a3dc5d08f84cfe011f (diff) |
dht-hashfn.c: remove a strlen()
We already have the length of the name, or when we munge it,
we can return the length of it instead of strlen() again.
Also, reduce a bit the code under the lock.
Change-Id: I0141b0725ed1a4134d8d9f81ed1187b551b038b5
updates: bz#1193929
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'xlators/protocol')
0 files changed, 0 insertions, 0 deletions