summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/crypto/ccp/sp-dev.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/crypto/ccp/sp-dev.c b/drivers/crypto/ccp/sp-dev.c
index 1e5ffad4437b..bef387c8abfd 100644
--- a/drivers/crypto/ccp/sp-dev.c
+++ b/drivers/crypto/ccp/sp-dev.c
@@ -246,12 +246,6 @@ static int __init sp_mod_init(void)
if (ret)
return ret;
- /* Don't leave the driver loaded if init failed */
- if (ccp_present() != 0) {
- sp_pci_exit();
- return -ENODEV;
- }
-
return 0;
#endif
@@ -262,12 +256,6 @@ static int __init sp_mod_init(void)
if (ret)
return ret;
- /* Don't leave the driver loaded if init failed */
- if (ccp_present() != 0) {
- sp_platform_exit();
- return -ENODEV;
- }
-
return 0;
#endif
OpenPOWER on IntegriCloud