summaryrefslogtreecommitdiffstats
path: root/crypto/algif_rng.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/algif_rng.c')
-rw-r--r--crypto/algif_rng.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/algif_rng.c b/crypto/algif_rng.c
index 67f612cfed97..3acba0a7cd55 100644
--- a/crypto/algif_rng.c
+++ b/crypto/algif_rng.c
@@ -55,8 +55,8 @@ struct rng_ctx {
struct crypto_rng *drng;
};
-static int rng_recvmsg(struct kiocb *unused, struct socket *sock,
- struct msghdr *msg, size_t len, int flags)
+static int rng_recvmsg(struct socket *sock, struct msghdr *msg, size_t len,
+ int flags)
{
struct sock *sk = sock->sk;
struct alg_sock *ask = alg_sk(sk);