OSDN Git Service

IB/srp: replace custom implementation of hex2bin()
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Mon, 11 Dec 2017 13:05:05 +0000 (15:05 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 11 Dec 2017 23:19:45 +0000 (16:19 -0700)
commite711f968c49c224527e75203cf121c7a69309030
treece45a5a7b3f798e7a534e4693806e03fe4b86c94
parent1b19b95169cd52fe82cd442fec0b279fe25cc838
IB/srp: 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 <andriy.shevchenko@linux.intel.com>
Acked-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/ulp/srp/ib_srp.c