Skip to content

Commit 79e2571

Browse files
Shankari02ojeda
authored andcommitted
rust: types: remove temporary re-exports of ARef and AlwaysRefCounted
Remove the temporary re-exports of `ARef` and `AlwaysRefCounted` from `types.rs` now that all in-tree users have been updated to import them directly from `sync::aref`. These re-exports were originally added to avoid breaking the kernel build during the transition period while call sites were incrementally migrated. With all users updated, they are no longer needed. Suggested-by: Benno Lossin <lossin@kernel.org> Link: #1173 Signed-off-by: Shankari Anand <shankari.ak0208@gmail.com> Link: https://patch.msgid.link/20260102202714.184223-5-shankari.ak0208@gmail.com Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent ebbed9d commit 79e2571

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

rust/kernel/types.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ use core::{
1111
};
1212
use pin_init::{PinInit, Wrapper, Zeroable};
1313

14-
pub use crate::sync::aref::{ARef, AlwaysRefCounted};
15-
1614
/// Used to transfer ownership to and from foreign (non-Rust) languages.
1715
///
1816
/// Ownership is transferred from Rust to a foreign language by calling [`Self::into_foreign`] and

0 commit comments

Comments
 (0)