]> git.baikalelectronics.ru Git - kernel.git/commit
dm crypt: replace custom implementation of hex2bin()
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Thu, 27 Apr 2017 13:52:04 +0000 (16:52 +0300)
committerMike Snitzer <snitzer@redhat.com>
Thu, 27 Apr 2017 16:08:31 +0000 (12:08 -0400)
commitd1d42e59e06dfc0ec44df1fdbc908cfcfd6fa78b
tree1a57bf056e14efbaf698d246d18cc6ffcc146cc4
parent3c2b24b2d86c3f15d768f3d3d1394efd0eb983d9
dm crypt: replace custom implementation of hex2bin()

There is no need to have a duplication of the generic library, i.e. hex2bin().
Replace the open coded variant.

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Tested-by: Milan Broz <gmazyland@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-crypt.c