crypto: lib/sha1 - remove unnecessary includes of linux/cryptohash.h
[sfrench/cifs-2.6.git] / crypto / algif_rng.c
index 22df3799a17bb0ba59b88283906cfd5df183735f..087c0ad09d382bdba07791610f0a81b172f1c1d3 100644 (file)
@@ -61,7 +61,7 @@ static int rng_recvmsg(struct socket *sock, struct msghdr *msg, size_t len,
        struct sock *sk = sock->sk;
        struct alg_sock *ask = alg_sk(sk);
        struct rng_ctx *ctx = ask->private;
-       int err = -EFAULT;
+       int err;
        int genlen = 0;
        u8 result[MAXSIZE];