[PATCH 1/4] kbuild: remove redundant cleanups in scripts/link-vmlinux.sh

From: Masahiro Yamada
Date: Sat May 28 2022 - 11:49:16 EST


These are cleaned by the top Makefile.

vmlinux.o and .vmlinux.d matches the '*.[aios]' and '.*.d' patterns
respectively.

Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
---

scripts/link-vmlinux.sh | 2 --
1 file changed, 2 deletions(-)

diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh
index a7f6196c7e41..844fc0125d72 100755
--- a/scripts/link-vmlinux.sh
+++ b/scripts/link-vmlinux.sh
@@ -309,8 +309,6 @@ cleanup()
rm -f System.map
rm -f vmlinux
rm -f vmlinux.map
- rm -f vmlinux.o
- rm -f .vmlinux.d
rm -f .vmlinux.objs
rm -f .vmlinux.export.c
}
--
2.32.0