]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] cpuset: remove useless local variable initialization
authorPaul Jackson <pj@sgi.com>
Fri, 24 Mar 2006 11:16:12 +0000 (03:16 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 24 Mar 2006 15:33:24 +0000 (07:33 -0800)
commit92eed4a29b38e6cc7a02be2c07095d3d359a4bad
tree4cc12f5bb3c5c3ee668226990e79115081609265
parent097820f419b3e0a01674c6248a7d7a9b5d6e7402
[PATCH] cpuset: remove useless local variable initialization

Remove a useless variable initialization in cpuset __cpuset_zone_allowed().
 The local variable 'allowed' is unconditionally set before use, later on
in the code, so does not need to be initialized.

Not that it seems to matter to the code generated any, as the compiler
optimizes out the superfluous assignment anyway.

Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/cpuset.c