diff options
| author | Marcelo Tosatti <marcelo.tosatti@cyclades.com> | 2004-10-19 18:40:03 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-10-19 18:40:03 -0700 |
| commit | 6902800445f4bfd224e82c7c3df74e48e925c001 (patch) | |
| tree | 7995103d0f1ad923c1937efee90fa7f948676a14 /include/linux/sysctl.h | |
| parent | 66ee38629134735537adb9c1a2fef83b418656f6 (diff) | |
[PATCH] Remove redundant AND from swp_type()
There is a useless AND in swp_type() function.
We just shifted right SWP_TYPE_SHIFT() bits the value from the swp_entry_t,
and then we AND it with "(1 << 5) - 1" (which is a mask corresponding to
the number of bits used by "type").
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/sysctl.h')
0 files changed, 0 insertions, 0 deletions
