]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
selftests/hid: Remove unused LLD variable
authorJames Clark <james.clark@linaro.org>
Mon, 18 May 2026 09:03:09 +0000 (10:03 +0100)
committerBenjamin Tissoires <bentiss@kernel.org>
Thu, 21 May 2026 15:28:26 +0000 (17:28 +0200)
This file was mostly copied from selftests/bpf/Makefile, but the LLD
variable is not used here. Also, this copied block didn't get the same
fixes as the original one did later.

Remove it to avoid confusion and so future fixes don't have to be in two
places.

Signed-off-by: James Clark <james.clark@linaro.org>
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
tools/testing/selftests/hid/Makefile

index 50ec9e0406abaf316fba232c5da1967e27d0fa9b..96071b4800e82a8f434c0ad1f91d88e0cfc77081 100644 (file)
@@ -105,13 +105,6 @@ $(MAKE_DIRS):
        $(call msg,MKDIR,,$@)
        $(Q)mkdir -p $@
 
-# LLVM's ld.lld doesn't support all the architectures, so use it only on x86
-ifeq ($(SRCARCH),x86)
-LLD := lld
-else
-LLD := ld
-endif
-
 DEFAULT_BPFTOOL := $(HOST_SCRATCH_DIR)/sbin/bpftool
 
 TEST_GEN_PROGS_EXTENDED += $(DEFAULT_BPFTOOL)