diff options
author | 2019-10-11 19:02:58 +0300 | |
---|---|---|
committer | 2019-10-11 12:49:14 -0400 | |
commit | 12b4157b7d3b666b1296b5cd4f1b675f102e2126 (patch) | |
tree | ce618430813747f6137b27c5285fa940eca1db5a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nfsd4: fix up replay_matches_cache() (diff) | |
download | linux-rng-12b4157b7d3b666b1296b5cd4f1b675f102e2126.tar.xz linux-rng-12b4157b7d3b666b1296b5cd4f1b675f102e2126.zip |
nfsd: remove private bin2hex implementation
Calling sprintf in a loop is not very efficient, and in any case,
we already have an implementation of bin-to-hex conversion in lib/
which we might as well use.
Note that original code used to nul-terminate the destination while
bin2hex doesn't. That's why replace kmalloc() with kzalloc().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions