Searched hist:b4652e8429100ba5c3ddb49499faa1188c98c246 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/mm/ |
H A D | mempolicy.c | diff b4652e8429100ba5c3ddb49499faa1188c98c246 Mon May 24 16:32:03 CDT 2010 Lee Schermerhorn <lee.schermerhorn@hp.com> mempolicy: lose unnecessary loop variable in mpol_parse_str()
We don't really need the extra variable 'i' in mpol_parse_str(). The only use is as the the loop variable. Then, it's assigned to 'mode'. Just use mode, and loose the 'uninitialized_var()' macro.
Signed-off-by: Lee Schermerhorn <lee.schermerhorn@hp.com> Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk> Cc: Ravikiran Thirumalai <kiran@scalex86.org> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: Christoph Lameter <cl@linux-foundation.org> Cc: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|