projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc88606
)
crypto: ccree - erase unneeded inline funcs
author
Gilad Ben-Yossef
<gilad@benyossef.com>
Thu, 16 Jan 2020 10:14:46 +0000
(12:14 +0200)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Wed, 22 Jan 2020 08:21:11 +0000
(16:21 +0800)
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>
drivers/crypto/ccree/cc_pm.h
patch
|
blob
|
history
diff --git
a/drivers/crypto/ccree/cc_pm.h
b/drivers/crypto/ccree/cc_pm.h
index
04289be
..
80a18e1
100644
(file)
--- 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;