summaryrefslogtreecommitdiff
path: root/security/keys/encrypted-keys/masterkey_trusted.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/keys/encrypted-keys/masterkey_trusted.c')
-rw-r--r--security/keys/encrypted-keys/masterkey_trusted.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/encrypted-keys/masterkey_trusted.c b/security/keys/encrypted-keys/masterkey_trusted.c
index 8c16c3e472e7..013f7e5d3a2f 100644
--- a/security/keys/encrypted-keys/masterkey_trusted.c
+++ b/security/keys/encrypted-keys/masterkey_trusted.c
@@ -39,7 +39,7 @@ struct key *request_trusted_key(const char *trusted_desc,
goto error;
down_read(&tkey->sem);
- tpayload = rcu_dereference(tkey->payload.data);
+ tpayload = tkey->payload.data;
*master_key = tpayload->key;
*master_keylen = tpayload->key_len;
error: