diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-05 14:26:38 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-05 14:26:38 -0500 |
commit | 7a21ef6fe902ac0ad53b45af6851ae5ec3a64299 (patch) | |
tree | 1e8c690f6fb644c8ce8873c7907ef0ed934446df /.gitignore | |
parent | c265c46bbb8c53db0bd084261ab2996c6d74aebf (diff) |
mm/slab.c (non-NUMA): Fix compile warning and clean up code
The non-NUMA case would do an unmatched "free_alien_cache()" on an alien
pointer that had never been allocated.
It might not matter from a code generation standpoint (since in the
non-NUMA case, the code doesn't actually _do_ anything), but it not only
results in a compiler warning, it's really really ugly too.
Fix the compiler warning by just having a matching dummy allocation.
That also avoids an unnecessary #ifdef in the code.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions