summaryrefslogtreecommitdiff
path: root/kernel/padata.c
diff options
context:
space:
mode:
authorStephen Kitt <steve@sk2.org>2020-01-24 23:20:51 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2020-02-22 09:25:41 +0800
commitf426faac80c9cca7973de10d903dc772627a5f5a (patch)
treeeea40f9ccc29f26f9fb6c1cf9755d3993bfcb1ea /kernel/padata.c
parent7f19380b2cfd412dcef2facefb3f6c62788864d7 (diff)
downloadlinux-f426faac80c9cca7973de10d903dc772627a5f5a.tar.gz
linux-f426faac80c9cca7973de10d903dc772627a5f5a.tar.bz2
linux-f426faac80c9cca7973de10d903dc772627a5f5a.zip
crypto: chelsio - remove extra allocation for chtls_dev
chtls_uld_add allocates room for info->nports net_device structs following the chtls_dev struct, presumably because it was originally intended that the ports array would be stored there. This is suggested by the assignment which was present in initial versions and removed by c4e848586cf1 ("crypto: chelsio - remove redundant assignment to cdev->ports"): cdev->ports = (struct net_device **)(cdev + 1); This assignment was never used, being overwritten by lldi->ports immediately afterwards, and I couldn't find any uses of the memory allocated past the end of the struct. Signed-off-by: Stephen Kitt <steve@sk2.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'kernel/padata.c')
0 files changed, 0 insertions, 0 deletions