Message ID | 155233359788.16519.1363511796795900412.stgit@djiang5-desk3.ch.intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 8521a77bab654d773dba2528cde8a5a25e83d4dc |
Headers | show |
Series | ndctl: update security handling post overwrite | expand |
diff --git a/ndctl/util/keys.c b/ndctl/util/keys.c index c1f2e843..f315802c 100644 --- a/ndctl/util/keys.c +++ b/ndctl/util/keys.c @@ -650,8 +650,5 @@ int ndctl_dimm_overwrite_key(struct ndctl_dimm *dimm) if (rc < 0) return rc; - if (key > 0) - return discard_key(dimm); - return 0; }