warning: unused import: `ffi::c_void`

From: kernel test robot
Date: Sun Nov 19 2023 - 17:23:32 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 037266a5f7239ead1530266f7d7af153d2a867fa
commit: ae6df65dabc3f8bd89663d96203963323e266d90 rust: upgrade to Rust 1.72.1
date: 6 weeks ago
config: x86_64-buildonly-randconfig-006-20231120 (https://download.01.org/0day-ci/archive/20231120/202311200633.01qo6GEu-lkp@xxxxxxxxx/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231120/202311200633.01qo6GEu-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311200633.01qo6GEu-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> warning: unused import: `ffi::c_void`
--> rust/kernel/kunit.rs:9:12
|
9 | use core::{ffi::c_void, fmt};
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
--
>> warning: unused variable: `args`
--> rust/kernel/kunit.rs:15:12
|
15 | pub fn err(args: fmt::Arguments<'_>) {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
|
= note: `#[warn(unused_variables)]` on by default
--
>> warning: unused variable: `args`
--> rust/kernel/kunit.rs:31:13
|
31 | pub fn info(args: fmt::Arguments<'_>) {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_args`

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki