diff options
| author | Miguel Ojeda <ojeda@kernel.org> | 2026-06-08 16:14:22 +0200 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2026-06-09 04:13:21 +0200 |
| commit | 34ea644acaf4ed85b14493ffd4284d1c9059372c (patch) | |
| tree | bf73f99090f251460580ce8a6e72c9f072407c3a /rust | |
| parent | 70a8d5ada9fabf4a34732b718f9c992195eed2ea (diff) | |
| download | linux-next-34ea644acaf4ed85b14493ffd4284d1c9059372c.tar.gz linux-next-34ea644acaf4ed85b14493ffd4284d1c9059372c.zip | |
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 <nsc@kernel.org>
Link: https://patch.msgid.link/20260608141439.182634-4-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust')
| -rw-r--r-- | rust/Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
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 - </dev/null) -libpin_init_internal_extension := $(patsubst libpin_init_internal.%,%,$(libpin_init_internal_name)) always-$(CONFIG_RUST) += $(libmacros_name) $(libpin_init_internal_name) |
