Merge "Drop unused PerBootDbKeepAlive type" into main

This commit is contained in:
David Drysdale 2024-04-15 05:35:59 +00:00 committed by Gerrit Code Review
commit 98e175b6f8

View file

@ -842,12 +842,6 @@ impl AuthTokenEntry {
} }
} }
/// 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 { impl KeystoreDB {
const UNASSIGNED_KEY_ID: i64 = -1i64; const UNASSIGNED_KEY_ID: i64 = -1i64;
const CURRENT_DB_VERSION: u32 = 1; const CURRENT_DB_VERSION: u32 = 1;