mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
a126eca844
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:
|
||
---|---|---|
.. | ||
allocator.rs | ||
box_ext.rs | ||
vec_ext.rs |