summaryrefslogtreecommitdiff
path: root/rust/kernel/sync/poll.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/kernel/sync/poll.rs')
-rw-r--r--rust/kernel/sync/poll.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/kernel/sync/poll.rs b/rust/kernel/sync/poll.rs
index 69f1368a2151..0ec985d560c8 100644
--- a/rust/kernel/sync/poll.rs
+++ b/rust/kernel/sync/poll.rs
@@ -91,6 +91,7 @@ impl Deref for PollCondVar {
#[pinned_drop]
impl PinnedDrop for PollCondVar {
+ #[inline]
fn drop(self: Pin<&mut Self>) {
// Clear anything registered using `register_wait`.
//