aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/gd/rust/linux/client/src/dbus_iface.rs2
-rw-r--r--system/gd/rust/linux/stack/src/bluetooth_gatt.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/system/gd/rust/linux/client/src/dbus_iface.rs b/system/gd/rust/linux/client/src/dbus_iface.rs
index 5a93233bba..20b11329f9 100644
--- a/system/gd/rust/linux/client/src/dbus_iface.rs
+++ b/system/gd/rust/linux/client/src/dbus_iface.rs
@@ -237,8 +237,6 @@ impl BluetoothDBus {
}
}
-trait DBusExportable {}
-
#[generate_dbus_interface_client]
impl IBluetooth for BluetoothDBus {
#[dbus_method("RegisterCallback")]
diff --git a/system/gd/rust/linux/stack/src/bluetooth_gatt.rs b/system/gd/rust/linux/stack/src/bluetooth_gatt.rs
index 92d6cc7e8c..6f2653eb14 100644
--- a/system/gd/rust/linux/stack/src/bluetooth_gatt.rs
+++ b/system/gd/rust/linux/stack/src/bluetooth_gatt.rs
@@ -1458,6 +1458,8 @@ mod tests {
fn unregister(&mut self, _id: u32) -> bool {
false
}
+
+ fn export_for_rpc(self: Box<Self>) {}
}
use super::*;