From: Miguel Ojeda Date: Mon, 8 Jun 2026 14:14:22 +0000 (+0200) Subject: rust: kbuild: remove unused variable X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=34ea644acaf4ed85b14493ffd4284d1c9059372c;p=thirdparty%2Fkernel%2Flinux.git rust: kbuild: remove unused variable Since we are adding one more proc macro crate (`zerocopy-derive`), we are refactoring their handling. `libpin_init_internal_extension` was added to mimic the setup for `macros`, but it is not used, since the extension is expected to be the same. Thus remove it. Reviewed-by: Nicolas Schier Link: https://patch.msgid.link/20260608141439.182634-4-ojeda@kernel.org Signed-off-by: Miguel Ojeda --- diff --git a/rust/Makefile b/rust/Makefile index bec9726f256c..2b4a3983bb1e 100644 --- a/rust/Makefile +++ b/rust/Makefile @@ -51,7 +51,6 @@ libmacros_name := $(shell MAKEFLAGS= $(RUSTC) --print file-names --crate-name ma libmacros_extension := $(patsubst libmacros.%,%,$(libmacros_name)) libpin_init_internal_name := $(shell MAKEFLAGS= $(RUSTC) --print file-names --crate-name pin_init_internal --crate-type proc-macro -