Skip to content

Commit 38c0d0a

Browse files
Gilad Ben-Yossefherbertx
authored andcommitted
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 <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent bc88606 commit 38c0d0a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

drivers/crypto/ccree/cc_pm.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,6 @@ static inline void cc_pm_go(struct cc_drvdata *drvdata) {}
3535

3636
static inline void cc_pm_fini(struct cc_drvdata *drvdata) {}
3737

38-
static inline int cc_pm_suspend(struct device *dev)
39-
{
40-
return 0;
41-
}
42-
43-
static inline int cc_pm_resume(struct device *dev)
44-
{
45-
return 0;
46-
}
47-
4838
static inline int cc_pm_get(struct device *dev)
4939
{
5040
return 0;

0 commit comments

Comments
 (0)