From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>,
"barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: [PATCH 0/5] treewide: delete code referencing unused headers
Date: Wed, 8 Jul 2020 10:12:54 +0200 [thread overview]
Message-ID: <b01c47c3-9fe7-79dc-5a61-e0b11590e2bd@pengutronix.de> (raw)
In-Reply-To: <20200708074739.359-1-a.fatoum@pengutronix.de>
Should have thought a little more about the title..
It removes code referencing _non-existent_ headers.
On 7/8/20 9:47 AM, Ahmad Fatoum wrote:
> Found by manual inspection of the output of following command:
>
> find . -name '*.[ch]' -exec egrep -H -o '^\s*#include <.*\.h>' {} \; | \
> perl -ne '/(.*):#include\s*<(.*)>/; print "$1: $2\n" unless -f "include/$2";' | \
> egrep -v ': (asm|dt-bindings|mach|generated|config\.h)' | egrep -v ^./scripts | \
> egrep -v ^./arch/sandbox/os
>
> Ahmad Fatoum (5):
> ppc: mpc5xxx: delete dead code
> include: delete unreferenced u-boot part.h header
> lib: list_sort: delete dead code
> commands: dhrystone: remove unneeded and out-of-place <stdbool.h>
> lib: lzo: drop unused compression code
>
> arch/powerpc/mach-mpc5xxx/Makefile | 5 -
> .../mach-mpc5xxx/firmware_sc_task.impl.S | 364 ------------------
> arch/powerpc/mach-mpc5xxx/io.S | 121 ------
> arch/powerpc/mach-mpc5xxx/pci_mpc5200.c | 180 ---------
> commands/dhrystone.c | 1 -
> include/part.h | 104 -----
> lib/list_sort.c | 149 -------
> lib/lzo/Kconfig | 4 -
> lib/lzo/Makefile | 3 -
> lib/lzo/lzo1x_compress.c | 279 --------------
> 10 files changed, 1210 deletions(-)
> delete mode 100644 arch/powerpc/mach-mpc5xxx/firmware_sc_task.impl.S
> delete mode 100644 arch/powerpc/mach-mpc5xxx/io.S
> delete mode 100644 arch/powerpc/mach-mpc5xxx/pci_mpc5200.c
> delete mode 100644 include/part.h
> delete mode 100644 lib/lzo/lzo1x_compress.c
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2020-07-08 8:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-08 7:47 Ahmad Fatoum
2020-07-08 7:47 ` [PATCH 1/5] ppc: mpc5xxx: delete dead code Ahmad Fatoum
2020-07-08 7:47 ` [PATCH 2/5] include: delete unreferenced u-boot part.h header Ahmad Fatoum
2020-07-08 7:47 ` [PATCH 3/5] lib: list_sort: delete dead code Ahmad Fatoum
2020-07-08 7:47 ` [PATCH 4/5] commands: dhrystone: remove unneeded and out-of-place <stdbool.h> Ahmad Fatoum
2020-07-08 7:47 ` [PATCH 5/5] lib: lzo: drop unused compression code Ahmad Fatoum
2020-07-08 8:12 ` Ahmad Fatoum [this message]
2020-07-11 4:25 ` [PATCH 0/5] treewide: delete code referencing unused headers Sascha Hauer
2020-09-14 10:04 ` Ahmad Fatoum
2020-09-14 13:51 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b01c47c3-9fe7-79dc-5a61-e0b11590e2bd@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox