summaryrefslogtreecommitdiffstats
path: root/lib/libcrc32c.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-04-05 07:49:05 +0200
committerDavid Sterba <dsterba@suse.com>2023-04-17 18:01:23 +0200
commit7533583e125d65bac1435410ecb56433e95eade0 (patch)
tree7d34a4b5b825a88b47004ca847071a9ac1e5da55 /lib/libcrc32c.c
parentbtrfs: don't print the crc32c implementation at module load time (diff)
downloadlinux-7533583e125d65bac1435410ecb56433e95eade0.tar.xz
linux-7533583e125d65bac1435410ecb56433e95eade0.zip
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>
Diffstat (limited to 'lib/libcrc32c.c')
-rw-r--r--lib/libcrc32c.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/libcrc32c.c b/lib/libcrc32c.c
index 5ca0d815a95d..649e687413a0 100644
--- a/lib/libcrc32c.c
+++ b/lib/libcrc32c.c
@@ -65,12 +65,6 @@ static void __exit libcrc32c_mod_fini(void)
crypto_free_shash(tfm);
}
-const char *crc32c_impl(void)
-{
- return crypto_shash_driver_name(tfm);
-}
-EXPORT_SYMBOL(crc32c_impl);
-
module_init(libcrc32c_mod_init);
module_exit(libcrc32c_mod_fini);