summaryrefslogtreecommitdiff
path: root/fs/orangefs
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2024-05-19 23:07:35 +0200
committerMiguel Ojeda <ojeda@kernel.org>2024-06-11 23:33:28 +0200
commita126eca844353360ebafa9088d22865cb8e022e3 (patch)
treeec6bd5133ec87ca3f97ca23c7050e696f46f47fb /fs/orangefs
parent83a7eefedc9b56fe7bfeff13b6c7356688ffa670 (diff)
rust: avoid unused import warning in `rusttest`rust-fixes-6.10
When compiling for the `rusttest` target, the `core::ptr` import is unused since its only use happens in the `reserve()` method which is not compiled in that target: warning: unused import: `core::ptr` --> rust/kernel/alloc/vec_ext.rs:7:5 | 7 | use core::ptr; | ^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default Thus clean it. Fixes: 97ab3e8eec0c ("rust: alloc: fix dangling pointer in VecExt<T>::reserve()") Reviewed-by: Alice Ryhl <aliceryhl@google.com> Reviewed-by: Danilo Krummrich <dakr@redhat.com> Link: https://lore.kernel.org/r/20240519210735.587323-1-ojeda@kernel.org Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'fs/orangefs')
0 files changed, 0 insertions, 0 deletions