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)
commite944e03e336f7ffa02aabc71291933d93dcd077c
tree1a57bf056e14efbaf698d246d18cc6ffcc146cc4
parent86f917adea2dc0ef440a248601e48154dc48e6d0
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