summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/nx
diff options
context:
space:
mode:
authorHaren Myneni <haren@linux.ibm.com>2020-04-17 11:11:14 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2020-04-20 08:53:14 +0200
commit040b00acec4bbbed7493fd64829e74a055075fb2 (patch)
tree03008bca18d4589be275134fe53501083d74e898 /drivers/crypto/nx
parentcrypto/nx: Enable and setup GZIP compression type (diff)
downloadlinux-040b00acec4bbbed7493fd64829e74a055075fb2.tar.xz
linux-040b00acec4bbbed7493fd64829e74a055075fb2.zip
crypto/nx: Remove 'pid' in vas_tx_win_attr struct
When window is opened, pid reference is taken for user space windows. Not needed for kernel windows. So remove 'pid' in vas_tx_win_attr struct. Signed-off-by: Haren Myneni <haren@linux.ibm.com> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/1587114674.2275.1132.camel@hbabu-laptop
Diffstat (limited to 'drivers/crypto/nx')
-rw-r--r--drivers/crypto/nx/nx-common-powernv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/nx/nx-common-powernv.c b/drivers/crypto/nx/nx-common-powernv.c
index 651d2860de0d..13c65deda8e9 100644
--- a/drivers/crypto/nx/nx-common-powernv.c
+++ b/drivers/crypto/nx/nx-common-powernv.c
@@ -692,7 +692,6 @@ static struct vas_window *nx_alloc_txwin(struct nx_coproc *coproc)
*/
vas_init_tx_win_attr(&txattr, coproc->ct);
txattr.lpid = 0; /* lpid is 0 for kernel requests */
- txattr.pid = 0; /* pid is 0 for kernel requests */
/*
* Open a VAS send window which is used to send request to NX.