]> Git Repo - linux.git/commit
binfmt_elf: cleanups
authorMikael Pettersson <[email protected]>
Thu, 13 Jan 2011 01:00:02 +0000 (17:00 -0800)
committerLinus Torvalds <[email protected]>
Thu, 13 Jan 2011 16:03:12 +0000 (08:03 -0800)
commitf670d0ecda73b7438eec9ed108680bc5f5362ad8
tree02b355fa1925c392a4dac7aeaa0958b5272881c2
parent52bd19f7691b2ea6433aef0ef94c08c57efd7e79
binfmt_elf: cleanups

This cleans up a few bits in binfmt_elf.c and binfmts.h:

- the hasvdso field in struct linux_binfmt is unused, so remove it and
  the only initialization of it

- the elf_map CPP symbol is not defined anywhere in the kernel, so
  remove an unnecessary #ifndef elf_map

- reduce excessive indentation in elf_format's initializer

- add missing spaces, remove extraneous spaces

No functional changes, but tested on x86 (32 and 64 bit), powerpc (32 and
64 bit), sparc64, arm, and alpha.

Signed-off-by: Mikael Pettersson <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/binfmt_elf.c
include/linux/binfmts.h
This page took 0.048687 seconds and 4 git commands to generate.