Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

libcrc32c: remove crc32c_impl

This was only ever used by btrfs, and the usage just went away.
This effectively reverts df91f56adce1 ("libcrc32c: Add crc32c_impl
function").

Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>

authored by

Christoph Hellwig and committed by
David Sterba
7533583e 6e7a367e

-7
-1
include/linux/crc32c.h
··· 5 5 #include <linux/types.h> 6 6 7 7 extern u32 crc32c(u32 crc, const void *address, unsigned int length); 8 - extern const char *crc32c_impl(void); 9 8 10 9 /* This macro exists for backwards-compatibility. */ 11 10 #define crc32c_le crc32c
-6
lib/libcrc32c.c
··· 65 65 crypto_free_shash(tfm); 66 66 } 67 67 68 - const char *crc32c_impl(void) 69 - { 70 - return crypto_shash_driver_name(tfm); 71 - } 72 - EXPORT_SYMBOL(crc32c_impl); 73 - 74 68 module_init(libcrc32c_mod_init); 75 69 module_exit(libcrc32c_mod_fini); 76 70