Skip to content

Commit 6b0709f

Browse files
committed
ARM: at91: remove unused duplicated filechk_offsets
The filechk_offsets in arch/arm/mach-at91/Makefile is never used because it is always overridden by the equivalent one in scripts/Makefile.lib Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent bb81955 commit 6b0709f

1 file changed

Lines changed: 0 additions & 25 deletions

File tree

‎arch/arm/mach-at91/Makefile‎

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -19,31 +19,6 @@ ifeq ($(CONFIG_PM_DEBUG),y)
1919
CFLAGS_pm.o += -DDEBUG
2020
endif
2121

22-
# Default sed regexp - multiline due to syntax constraints
23-
define sed-y
24-
"/^->/{s:->#\(.*\):/* \1 */:; \
25-
s:^->\([^ ]*\) [\$$#]*\([-0-9]*\) \(.*\):#define \1 \2 /* \3 */:; \
26-
s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; \
27-
s:->::; p;}"
28-
endef
29-
30-
# Use filechk to avoid rebuilds when a header changes, but the resulting file
31-
# does not
32-
define filechk_offsets
33-
(set -e; \
34-
echo "#ifndef $2"; \
35-
echo "#define $2"; \
36-
echo "/*"; \
37-
echo " * DO NOT MODIFY."; \
38-
echo " *"; \
39-
echo " * This file was generated by Kbuild"; \
40-
echo " */"; \
41-
echo ""; \
42-
sed -ne $(sed-y); \
43-
echo ""; \
44-
echo "#endif" )
45-
endef
46-
4722
arch/arm/mach-at91/pm_data-offsets.s: arch/arm/mach-at91/pm_data-offsets.c
4823
$(call if_changed_dep,cc_s_c)
4924

0 commit comments

Comments
 (0)