summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2020-01-16 13:14:46 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2020-01-22 11:21:11 +0300
commit38c0d0abf2685bf77a844e00f104038dd07257a6 (patch)
tree07f272978abdf90afa7785dff48736678f3de7de /drivers
parentbc88606ac030c4d89976e4dd8f00f31ba1640f2f (diff)
downloadlinux-38c0d0abf2685bf77a844e00f104038dd07257a6.tar.xz
crypto: ccree - erase unneeded inline funcs
These inline versions of PM function for the case of CONFIG_PM is not set are never used. Erase them. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/crypto/ccree/cc_pm.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/crypto/ccree/cc_pm.h b/drivers/crypto/ccree/cc_pm.h
index 04289beb6e3e..80a18e11cae4 100644
--- a/drivers/crypto/ccree/cc_pm.h
+++ b/drivers/crypto/ccree/cc_pm.h
@@ -35,16 +35,6 @@ static inline void cc_pm_go(struct cc_drvdata *drvdata) {}
static inline void cc_pm_fini(struct cc_drvdata *drvdata) {}
-static inline int cc_pm_suspend(struct device *dev)
-{
- return 0;
-}
-
-static inline int cc_pm_resume(struct device *dev)
-{
- return 0;
-}
-
static inline int cc_pm_get(struct device *dev)
{
return 0;