linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] removing redundant ifdefs
@ 2010-05-06 17:36 Jiri Olsa
  2010-05-06 17:36 ` [PATCH 01/13] kernel/fs/security: " Jiri Olsa
                   ` (15 more replies)
  0 siblings, 16 replies; 24+ messages in thread
From: Jiri Olsa @ 2010-05-06 17:36 UTC (permalink / raw)
  To: kernel-janitors
  Cc: linux-kernel, linux, ysato, tony.luck, dhowells, kyle, benh,
	schwidefsky, jgarzik, hare, felipe.balbi

removing redundant ifdefs.

the pattern is

	#ifdef DEF1
	...
	#ifdef DEF1
	...
	#endif
	...
	#endif

and removing the inner ifdef.

I found them using script all over the kernel so
I haven't even compile-tested some of them.

I CCed all the related maintainers, sorry if I put
any wrong one.


wbr,
jirka
---
 arch/arm/include/asm/processor.h              |    2 --
 arch/arm/mach-ixp23xx/include/mach/platform.h |    3 ---
 arch/arm/plat-omap/include/plat/clock.h       |    5 -----
 arch/h8300/include/asm/tlb.h                  |   13 -------------
 arch/ia64/include/asm/mmzone.h                |    4 ----
 arch/mn10300/include/asm/pgtable.h            |    4 ----
 arch/parisc/kernel/unaligned.c                |    2 --
 arch/powerpc/include/asm/vdso_datapage.h      |    2 --
 arch/powerpc/kernel/traps.c                   |    2 --
 arch/s390/include/asm/processor.h             |    5 -----
 arch/s390/kernel/vdso.c                       |    4 ----
 arch/x86/kernel/early-quirks.c                |    2 --
 drivers/ata/ahci.c                            |    2 --
 drivers/scsi/aic7xxx_old.c                    |    2 --
 drivers/usb/musb/musb_core.h                  |    9 ---------
 drivers/video/atafb.c                         |    2 --
 drivers/video/matrox/matroxfb_DAC1064.c       |    5 +----
 fs/ext4/super.c                               |    2 --
 include/linux/socket.h                        |    4 ----
 kernel/sched.c                                |    6 ------
 kernel/srcu.c                                 |    2 --
 security/capability.c                         |    2 --
 sound/pci/au88x0/au88x0_core.c                |    4 ----
 23 files changed, 1 insertions(+), 87 deletions(-)

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2010-05-14 21:32 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-06 17:36 [PATCH] removing redundant ifdefs Jiri Olsa
2010-05-06 17:36 ` [PATCH 01/13] kernel/fs/security: " Jiri Olsa
2010-05-06 17:36 ` [PATCH 02/13] ia64: removing redundant ifdef Jiri Olsa
2010-05-06 17:36 ` [PATCH 03/13] arm: removing redundant ifdefs Jiri Olsa
2010-05-06 19:36   ` Russell King - ARM Linux
2010-05-06 17:36 ` [PATCH 04/13] x86: removing redundant ifdef Jiri Olsa
2010-05-06 17:36 ` [PATCH 05/13] s390: removing redundant ifdefs Jiri Olsa
2010-05-07  8:46   ` Heiko Carstens
2010-05-06 17:36 ` [PATCH 06/13] mn10300: removing redundant ifdef Jiri Olsa
2010-05-06 17:36 ` [PATCH 07/13] h8300: " Jiri Olsa
2010-05-06 17:36 ` [PATCH 08/13] powerpc: removing redundant ifdefs Jiri Olsa
2010-05-06 17:36 ` [PATCH 09/13] parisc: removing redundant ifdef Jiri Olsa
2010-05-06 17:40   ` Kyle McMartin
2010-05-06 17:36 ` [PATCH 10/13] drivers/scsi: " Jiri Olsa
2010-05-06 17:36 ` [PATCH 11/13] drivers/video: removing redundant ifdefs Jiri Olsa
2010-05-06 17:36 ` [PATCH 12/13] drivers/usb/musb: " Jiri Olsa
2010-05-07  5:32   ` Felipe Balbi
2010-05-06 17:36 ` [PATCH 13/13] drivers/ata: removing redundant ifdef Jiri Olsa
2010-05-14 21:32   ` Jeff Garzik
2010-05-06 17:43 ` [PATCH] removing redundant ifdefs Randy Dunlap
2010-05-07  7:59   ` Jiri Olsa
2010-05-06 18:01 ` Russell King - ARM Linux
2010-05-07  8:08   ` Jiri Olsa
2010-05-07 10:11 ` [PATCH 06/13] mn10300: removing redundant ifdef David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).