From: Gilad Ben-Yossef Date: Thu, 16 Jan 2020 10:14:46 +0000 (+0200) Subject: crypto: ccree - erase unneeded inline funcs X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=38c0d0abf2685bf77a844e00f104038dd07257a6;p=linux.git 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 Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/ccree/cc_pm.h b/drivers/crypto/ccree/cc_pm.h index 04289beb6e3ea..80a18e11cae43 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;