staging/lustre/libcfs: cleanup linux-crypto
authorPeng Tao <bergwolf@gmail.com>
Thu, 6 Jun 2013 14:59:13 +0000 (22:59 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jun 2013 18:31:02 +0000 (11:31 -0700)
commit9c782da4f09d7665eb60b70dd83280b6a819857f
tree475517b779b4eb9369c0958812dc42bd637c646b
parent4a1a01ea52ad3d9bc0ac36f5a9739d6cce0bae75
staging/lustre/libcfs: cleanup linux-crypto

We don't need to implement crc32 and crc32pclmul on our own.
The crc32-pclmul support was merged into the 3.8 kernel in commit
78c37d1, no need to keep a local copy in Lustre anymore.
The crc32 implementation is identical to crypto-crc32. So drop
Lustre's private implementation and select kernel crypto in Kconfig.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Peng Tao <tao.peng@emc.com>
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/Kconfig
drivers/staging/lustre/lustre/libcfs/Makefile
drivers/staging/lustre/lustre/libcfs/crc32-pclmul_asm.S [deleted file]
drivers/staging/lustre/lustre/libcfs/linux/linux-crypto-crc32.c [deleted file]
drivers/staging/lustre/lustre/libcfs/linux/linux-crypto-crc32pclmul.c [deleted file]
drivers/staging/lustre/lustre/libcfs/linux/linux-crypto.c