projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rust: kernel: remove redundant imports
[linux-block.git]
/
rust
/
kernel
/
alloc
/
allocator.rs
diff --git
a/rust/kernel/alloc/allocator.rs
b/rust/kernel/alloc/allocator.rs
index ff88bce04fd47dca529e125de961baa55ce65942..229642960cd162dcf9df1f75c4f3b35e77e545d0 100644
(file)
--- a/
rust/kernel/alloc/allocator.rs
+++ b/
rust/kernel/alloc/allocator.rs
@@
-6,8
+6,6
@@
use super::{flags::*, Flags};
use core::alloc::{GlobalAlloc, Layout};
use core::ptr;
-use crate::bindings;
-
struct KernelAllocator;
/// Calls `krealloc` with a proper size to alloc a new object aligned to `new_layout`'s alignment.