diff options
author | Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> | 2005-09-04 00:54:56 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-05 09:05:45 +0200 |
commit | 4944e76d81801b8e60ed3e7789443f210c16ed65 (patch) | |
tree | d20096acf35b1af03eba1d043e6376a154cae054 /include | |
parent | [PATCH] shmem_populate: avoid an useless check, and some comments (diff) | |
download | linux-4944e76d81801b8e60ed3e7789443f210c16ed65.tar.xz linux-4944e76d81801b8e60ed3e7789443f210c16ed65.zip |
[PATCH] mm: remove implied vm_ops check
If !vma->vm-ops we already BUG above, so retesting it is useless. The
compiler cannot optimize this because BUG is a macro and is not thus marked
noreturn; that should possibly be fixed.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions