Skip to content
Snippets Groups Projects
Commit a7e7edfe authored by kbuild test robot's avatar kbuild test robot Committed by Herbert Xu
Browse files

crc-t10dif: crc_t10dif_mutex can be static


Fixes: b7637754 ("crc-t10dif: Pick better transform if one becomes available")
Signed-off-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 6d39a124
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
static struct crypto_shash __rcu *crct10dif_tfm; static struct crypto_shash __rcu *crct10dif_tfm;
static struct static_key crct10dif_fallback __read_mostly; static struct static_key crct10dif_fallback __read_mostly;
DEFINE_MUTEX(crc_t10dif_mutex); static DEFINE_MUTEX(crc_t10dif_mutex);
static int crc_t10dif_rehash(struct notifier_block *self, unsigned long val, void *data) static int crc_t10dif_rehash(struct notifier_block *self, unsigned long val, void *data)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment