summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/crypto/io/sha1_mod.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/crypto/io/sha1_mod.c')
-rw-r--r--usr/src/uts/common/crypto/io/sha1_mod.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/usr/src/uts/common/crypto/io/sha1_mod.c b/usr/src/uts/common/crypto/io/sha1_mod.c
index 2ed4c9275d..001eec766b 100644
--- a/usr/src/uts/common/crypto/io/sha1_mod.c
+++ b/usr/src/uts/common/crypto/io/sha1_mod.c
@@ -20,7 +20,7 @@
*/
/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -211,14 +211,11 @@ _init()
return (ret);
/*
- * Register with KCF. If the registration fails, log an
- * error but do not uninstall the module, since the functionality
- * provided by misc/sha1 should still be available.
+ * Register with KCF. If the registration fails, log do not uninstall
+ * the module, since the functionality provided by misc/sha1 should
+ * still be available.
*/
- if ((ret = crypto_register_provider(&sha1_prov_info,
- &sha1_prov_handle)) != CRYPTO_SUCCESS)
- cmn_err(CE_WARN, "sha1 _init: "
- "crypto_register_provider() failed (0x%x)", ret);
+ (void) crypto_register_provider(&sha1_prov_info, &sha1_prov_handle);
return (0);
}