Skip to content

Commit e17aca2

Browse files
masahir0yhcahca
authored andcommitted
s390/syscalls: Remove unnecessary argument of filechk_syshdr
The filechk_syshdr macro receives $@ in both cases, making the argument redundant. Signed-off-by: Masahiro Yamada <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Carstens <[email protected]>
1 parent 0708967 commit e17aca2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arch/s390/kernel/syscalls/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ uapi: $(uapi-hdrs-y)
2323
# Create output directory if not already present
2424
$(shell mkdir -p $(uapi) $(kapi))
2525

26-
filechk_syshdr = $(CONFIG_SHELL) '$(systbl)' -H -a $(syshdr_abi_$(basetarget)) -f "$2" < $<
26+
filechk_syshdr = $(CONFIG_SHELL) '$(systbl)' -H -a $(syshdr_abi_$(basetarget)) -f "$@" < $<
2727

2828
filechk_sysnr = $(CONFIG_SHELL) '$(systbl)' -N -a $(sysnr_abi_$(basetarget)) < $<
2929

3030
filechk_syscalls = $(CONFIG_SHELL) '$(systbl)' -S < $<
3131

3232
syshdr_abi_unistd_32 := common,32
3333
$(uapi)/unistd_32.h: $(syscall) FORCE
34-
$(call filechk,syshdr,$@)
34+
$(call filechk,syshdr)
3535

3636
syshdr_abi_unistd_64 := common,64
3737
$(uapi)/unistd_64.h: $(syscall) FORCE
38-
$(call filechk,syshdr,$@)
38+
$(call filechk,syshdr)
3939

4040
$(kapi)/syscall_table.h: $(syscall) FORCE
4141
$(call filechk,syscalls)

0 commit comments

Comments
 (0)