diff options
author | Tian Tao <tiantao6@hisilicon.com> | 2021-04-16 04:06:42 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-04-22 10:31:31 +0300 |
commit | 5d17c414e1029d245d535d10c6ead04dc2f65e15 (patch) | |
tree | 71ece572f6316ce338e749e7567e4ec71ae535d1 /drivers/crypto/s5p-sss.c | |
parent | b2d17df35ea5ff9b7c003e5060bb79edd6d4c9c5 (diff) | |
download | linux-5d17c414e1029d245d535d10c6ead04dc2f65e15.tar.xz |
crypto: ccp - Make ccp_dev_suspend and ccp_dev_resume void functions
Since ccp_dev_suspend() and ccp_dev_resume() only return 0 which causes
ret to equal 0 in sp_suspend and sp_resume, making the if condition
impossible to use. it might be a more appropriate fix to have these be
void functions and eliminate the if condition in sp_suspend() and
sp_resume().
Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Acked-by: John Allen <john.allen@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/s5p-sss.c')
0 files changed, 0 insertions, 0 deletions