lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1273167377-14270-1-git-send-email-jolsa@redhat.com>
Date:	Thu,  6 May 2010 19:36:04 +0200
From:	Jiri Olsa <jolsa@...hat.com>
To:	kernel-janitors@...r.kernel.org
Cc:	linux-kernel@...r.kernel.org, linux@....linux.org.uk,
	ysato@...rs.sourceforge.jp, tony.luck@...el.com,
	dhowells@...hat.com, kyle@...artin.ca, benh@...nel.crashing.org,
	schwidefsky@...ibm.com, jgarzik@...ox.com, hare@...e.de,
	felipe.balbi@...ia.com
Subject: [PATCH] removing redundant ifdefs

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(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ