]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
crypto: af_alg - remove redundant initializations of sk_family
authorEric Biggers <ebiggers@google.com>
Thu, 10 Jan 2019 20:18:02 +0000 (12:18 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Jan 2019 10:43:43 +0000 (18:43 +0800)
commit6d0d6cfb12e5e1e8d879996b786da718c6ec15e6
tree0bdca58a9e5078c24346a03bf969634ab05e8858
parent7c39edfb040078e1ab90e5c546cfeba8ec159bbd
crypto: af_alg - remove redundant initializations of sk_family

sk_alloc() already sets sock::sk_family to PF_ALG which is passed as the
'family' argument, so there's no need to set it again.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/af_alg.c