]> git.baikalelectronics.ru Git - kernel.git/commit
net/sunrpc/cache: simplify code by using hex_pack_byte()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 12 Dec 2013 13:49:21 +0000 (15:49 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 12 Dec 2013 16:37:17 +0000 (11:37 -0500)
commit50653b00592f6328cf1a6a46fbf5598e403f50cd
tree081e3420752e737eb8bd9ce48b799a00e345bdef
parent0f1ae08c73f6b471307df8b2589b95a73b6bfc83
net/sunrpc/cache: simplify code by using hex_pack_byte()

hex_pack_byte() is a fast way to convert a byte in its ASCII representation. We
may use it instead of custom approach.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/cache.c