]> git.ipfire.org Git - thirdparty/linux.git/commit
rust: miscdevice: remove redundant imports
authorAlvin Sun <alvin.sun@linux.dev>
Wed, 20 May 2026 02:40:10 +0000 (10:40 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 May 2026 11:47:32 +0000 (13:47 +0200)
commit7afb5806b8d8220e47330117cddf2df774e8a4a5
tree99a6325e1ab5f81db0d59dd5dec320576e5f92ea
parentbc58905eb07278914c376af5237a2f39c7ba483b
rust: miscdevice: remove redundant imports

Drop `Error`, `Result`, `Pin`, `c_int`, `c_long`, `c_uint`, and
`c_ulong` imports already provided by `kernel::prelude`.

Signed-off-by: Alvin Sun <alvin.sun@linux.dev>
Reviewed-by: Onur Özkan <work@onurozkan.dev>
Link: https://patch.msgid.link/20260520-miscdev-use-format-v2-3-64dc48fc1345@linux.dev
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
rust/kernel/miscdevice.rs