]> 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)
commitffd7bf7660a726003e80928dfc67aa047e0debc8
tree1a57bf056e14efbaf698d246d18cc6ffcc146cc4
parent28076b33a5cdf03d27722de87a8931028324f364
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