s3-secrets: Remove unused secrets_delete_machine_password()
[samba.git] / source3 / passdb / machine_account_secrets.c
index 4a6642eef72023c6c64bf8f12cd79fc26e5f267c..8aaea10d8c25482afce87a77858d7529223d2eed 100644 (file)
@@ -396,19 +396,6 @@ static bool secrets_delete_prev_machine_password(const char *domain)
        return secrets_delete(machine_prev_password_keystr(domain));
 }
 
-/************************************************************************
- Routine to delete the plaintext machine account password and old
- password if any
-************************************************************************/
-
-bool secrets_delete_machine_password(const char *domain)
-{
-       if (!secrets_delete_prev_machine_password(domain)) {
-               return false;
-       }
-       return secrets_delete(machine_password_keystr(domain));
-}
-
 /************************************************************************
  Routine to delete the plaintext machine account password, old password,
  sec channel type and last change time from secrets database