net: rework recvmsg handler msg_name and msg_namelen logic
[pandora-kernel.git] / crypto / algif_hash.c
index 2a5af95..8502462 100644 (file)
@@ -164,8 +164,6 @@ static int hash_recvmsg(struct kiocb *unused, struct socket *sock,
        else if (len < ds)
                msg->msg_flags |= MSG_TRUNC;
 
-       msg->msg_namelen = 0;
-
        lock_sock(sk);
        if (ctx->more) {
                ctx->more = 0;