Drop unused PerBootDbKeepAlive type
Looks like the DB was moved out of SQLite in aosp/1699645 but the
connection-holding type was missed.
Bug: 333894699
Test: TreeHugger
Change-Id: I4b87690343bc890cb1aa1c6e1595ac4b42c11670
diff --git a/keystore2/src/database.rs b/keystore2/src/database.rs
index dd64764..0cc982a 100644
--- a/keystore2/src/database.rs
+++ b/keystore2/src/database.rs
@@ -842,12 +842,6 @@
}
}
-/// Shared in-memory databases get destroyed as soon as the last connection to them gets closed.
-/// This object does not allow access to the database connection. But it keeps a database
-/// connection alive in order to keep the in memory per boot database alive.
-#[allow(dead_code)]
-pub struct PerBootDbKeepAlive(Connection);
-
impl KeystoreDB {
const UNASSIGNED_KEY_ID: i64 = -1i64;
const CURRENT_DB_VERSION: u32 = 1;