summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-10-11 19:02:58 +0300
committerJ. Bruce Fields <bfields@redhat.com>2019-10-11 12:49:14 -0400
commit12b4157b7d3b666b1296b5cd4f1b675f102e2126 (patch)
treece618430813747f6137b27c5285fa940eca1db5a /net/sunrpc
parent6e73e92b155c868ff7fce9d108839668caf1d9be (diff)
downloadlinux-12b4157b7d3b666b1296b5cd4f1b675f102e2126.tar.bz2
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 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions