Skip to contentSkip to conversation

firmware_loader: remove unneeded 'comma' macro

PATCH In review Masahiro Yamada 2 participants 3 messages May 28, 2021 – Jul 15, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 firmware_loader: remove unneeded 'comma' macro

Commit 553671b76859 ("firmware_loader: Fix labels with comma for builtin firmware") added this line, which was unneeded.

The macro 'comma' is defined in scripts/Kbuild.include.

---

 drivers/base/firmware_loader/builtin/Makefile | 1 -
 1 file changed, 1 deletion(-)
drivers/base/firmware_loader/builtin/Makefile +0 -1
index 5fa7ce3745a0..101754ad48d9 100644
@@ -8,7 +8,6 @@ fwdir := $(addprefix $(srctree)/,$(filter-out /%,$(fwdir)))$(filter /%,$(fwdir))
 obj-y  := $(addsuffix .gen.o, $(subst $(quote),,$(CONFIG_EXTRA_FIRMWARE)))
 
 FWNAME    = $(patsubst $(obj)/%.gen.S,%,$@)
-comma     := ,
 FWSTR     = $(subst $(comma),_,$(subst /,_,$(subst .,_,$(subst -,_,$(FWNAME)))))
 ASM_WORD  = $(if $(CONFIG_64BIT),.quad,.long)
 ASM_ALIGN = $(if $(CONFIG_64BIT),3,2)
Signature · 1 line
2.27.0